Skip to content

Commit 4591a22

Browse files
tititiou36broonie
authored andcommitted
regulator: sm5703: Remove because it is unused and fails to build
This file does not compile because <linux/mfd/sm5703.h> is missing. In KConfig, it depends on MFD_SM5703. Both MFD_SM5703 and the missing include rely on another patch that never got merged. The last iteration related to this patch is [1]. So remove this dead-code and undo commit e8858ba ("regulator: sm5703-regulator: Add regulators support for SM5703 MFD") [1]: https://lore.kernel.org/lkml/20220423085319.483524-5-markuss.broks@gmail.com/ Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://patch.msgid.link/0f5da91a05e7343d290c88e3c583b674cf6219ac.1725910247.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2a1de56 commit 4591a22

3 files changed

Lines changed: 0 additions & 178 deletions

File tree

drivers/regulator/Kconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,13 +1373,6 @@ config REGULATOR_SLG51000
13731373
The SLG51000 is seven compact and customizable low dropout
13741374
regulators.
13751375

1376-
config REGULATOR_SM5703
1377-
tristate "Silicon Mitus SM5703 regulators"
1378-
depends on MFD_SM5703
1379-
help
1380-
This driver provides support for voltage regulators of SM5703
1381-
multi-function device.
1382-
13831376
config REGULATOR_STM32_BOOSTER
13841377
tristate "STMicroelectronics STM32 BOOSTER"
13851378
depends on ARCH_STM32 || COMPILE_TEST

drivers/regulator/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o
160160
obj-$(CONFIG_REGULATOR_SC2731) += sc2731-regulator.o
161161
obj-$(CONFIG_REGULATOR_SKY81452) += sky81452-regulator.o
162162
obj-$(CONFIG_REGULATOR_SLG51000) += slg51000-regulator.o
163-
obj-$(CONFIG_REGULATOR_SM5703) += sm5703-regulator.o
164163
obj-$(CONFIG_REGULATOR_STM32_BOOSTER) += stm32-booster.o
165164
obj-$(CONFIG_REGULATOR_STM32_VREFBUF) += stm32-vrefbuf.o
166165
obj-$(CONFIG_REGULATOR_STM32_PWR) += stm32-pwr.o

drivers/regulator/sm5703-regulator.c

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)