video: ARM CLCD: use panel device node for getting backlight and mode
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 30 Jan 2017 16:39:48 +0000 (17:39 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 30 Jan 2017 16:39:48 +0000 (17:39 +0100)
commit6306b3a58c91806a9d9b1bf60fa66804b29beecb
treea4f0644cab2689bae892e9185c7d687e3b5daa45
parentbe7367968f54b452ee221ba03458593499e040cc
video: ARM CLCD: use panel device node for getting backlight and mode

Having obtained panel device node in clcdfb_of_init_display() it allows to
generalize and simplify two more helper functions clcdfb_of_get_backlight()
and clcdfb_of_get_mode().

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/amba-clcd.c