summaryrefslogtreecommitdiff
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2019-03-20 22:52:27 +0100
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-03-31 20:12:30 +0200
commitdd08e136f77bfbd1cc2917bafbd690ad5f40a61b (patch)
tree6183209c4525a90e9618e1a211c2bc9c18f9eab2 /drivers/leds/Kconfig
parent5b6cd445dbef2e59174504e06f7918627d0ae8fd (diff)
leds: lt3593: drop pdata handling code
The only user of this driver in mainline has now moved to DTS, so the pdata code is no longer in use by anyone. Let's drop some dead code, and make the driver depend on CONFIG_OF. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 2b5ae50f8c9a..0414adebb177 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -533,6 +533,7 @@ config LEDS_LT3593
tristate "LED driver for LT3593 controllers"
depends on LEDS_CLASS
depends on GPIOLIB || COMPILE_TEST
+ depends on OF
help
This option enables support for LEDs driven by a Linear Technology
LT3593 controller. This controller uses a special one-wire pulse