]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: bd6107: Convert to use GPIO descriptor
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Dec 2019 10:30:28 +0000 (11:30 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 16 Dec 2019 10:32:27 +0000 (10:32 +0000)
commitc8fdcc86725cc93a021139e8de68914857ea7489
tree7dc733f927a119766fee7d242dc335988ef81fa0
parentedeec4fdc78008185eff2c352d75f048959af1d6
backlight: bd6107: Convert to use GPIO descriptor

The Rohm BD6107 driver can pass a fixed GPIO line using the old
GPIO API using platform data. As there are no in-tree users of this
platform data since 2013, we can convert this to use a GPIO descriptor
and require any out-of-tree consumers to pass the GPIO using
a machine descriptor table instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/bd6107.c
include/linux/platform_data/bd6107.h