Home
last modified time | relevance | path

Searched hist:ac219bf3c9bdf9200767e8c98a56ad42c75e5cd5 (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/platform_data/
H A Dleds-lp55xx.hdiff ac219bf3c9bdf9200767e8c98a56ad42c75e5cd5 Sat Jun 27 00:40:11 CEST 2020 Linus Walleij <linus.walleij@linaro.org> leds: lp55xx: Convert to use GPIO descriptors

The LP55xx driver is already using the of_gpio() functions to
pick a global GPIO number for "enable" from the device tree and
request the line. Simplify it by just using a GPIO descriptor.

Make sure to keep the enable GPIO line optional, change the
naming from "lp5523_enable" to "LP55xx enable" to reflect that
this is used on all LP55xx LED drivers.

Cc: Milo Kim <milo.kim@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
/linux/drivers/leds/
H A Dleds-lp55xx-common.cdiff ac219bf3c9bdf9200767e8c98a56ad42c75e5cd5 Sat Jun 27 00:40:11 CEST 2020 Linus Walleij <linus.walleij@linaro.org> leds: lp55xx: Convert to use GPIO descriptors

The LP55xx driver is already using the of_gpio() functions to
pick a global GPIO number for "enable" from the device tree and
request the line. Simplify it by just using a GPIO descriptor.

Make sure to keep the enable GPIO line optional, change the
naming from "lp5523_enable" to "LP55xx enable" to reflect that
this is used on all LP55xx LED drivers.

Cc: Milo Kim <milo.kim@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>