]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: stmpe: Allow building as module
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 19 Aug 2025 07:04:57 +0000 (09:04 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 4 Sep 2025 13:00:53 +0000 (15:00 +0200)
commitdf6a44003953fb23ad67f82d299e439e7ff7150a
tree605eeca4aaa7dd9efda789e6841719b2c557d0c4
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
mfd: stmpe: Allow building as module

Export the core probe and remove function to be used by i2c and spi
drivers. Also add necessary module information so the drivers can be built
as modules. This reduces footprint of the driver is enabled but unused.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20250819070458.1027883-1-alexander.stein@ew.tq-group.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/stmpe.c