summaryrefslogtreecommitdiff
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2017-12-18 14:23:07 -0600
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-01-08 21:28:12 +0100
commita2169c9b762ac64899b2aefb170ea0e16178afd6 (patch)
tree02f249b0168bf12ebbb6addc79731adfc9cbcb24 /drivers/leds/Kconfig
parent50aa46c4bd7b79a57766537dfa8e8c4d8b174a3a (diff)
leds: lp8860: Various fixes to align with LED framework
Update the driver to conform with the LED framework: - use devm_led_classdev_register - destroy mutex on exit - remove dependency on CONFIG_OF in the driver and move to the Kconfig - update the MODULE_LICENSE to GPL v2 - remove setting of MAX brightness as the LED framework does this. Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 1d215b39cefd..3e763d2a0cb3 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -354,7 +354,7 @@ config LEDS_LP8788
config LEDS_LP8860
tristate "LED support for the TI LP8860 4 channel LED driver"
- depends on LEDS_CLASS && I2C
+ depends on LEDS_CLASS && I2C && OF
select REGMAP_I2C
help
If you say yes here you get support for the TI LP8860 4 channel