ARM: davinci: da850-evm: model the backlight GPIO as an actual device
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 22 Jul 2019 13:44:17 +0000 (15:44 +0200)
committerSekhar Nori <nsekhar@ti.com>
Mon, 26 Aug 2019 12:23:56 +0000 (17:53 +0530)
commit7b5ab6437961f5e37ab9adfae18cf1671e39e7a3
tree29c6c20d93222c61832a22fe0e6b6778baf7cc1f
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
ARM: davinci: da850-evm: model the backlight GPIO as an actual device

Instead of enabling the panel backlight in a callback defined in board
file using deprecated legacy GPIO API calls, model the line as a GPIO
backlight device.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-da850-evm.c