summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/amba-clcd-nomadik.h
diff options
context:
space:
mode:
authorVladimir Zapolskiy2017-01-30 17:39:48 +0100
committerBartlomiej Zolnierkiewicz2017-01-30 17:39:48 +0100
commitbe7367968f54b452ee221ba03458593499e040cc (patch)
tree76f83916701aa7263082dabb4685e9fa9dbaf0cd /drivers/video/fbdev/amba-clcd-nomadik.h
parentvideo: ARM CLCD: sort included headers out alphabetically (diff)
downloadkernel-qcow2-linux-be7367968f54b452ee221ba03458593499e040cc.tar.gz
kernel-qcow2-linux-be7367968f54b452ee221ba03458593499e040cc.tar.xz
kernel-qcow2-linux-be7367968f54b452ee221ba03458593499e040cc.zip
video: ARM CLCD: use panel device node for panel initialization
There is no necessity to pass an endpoint device node to custom panel initialization functions, because a child panel device node should be sufficient, note that the existing init_panel() callback declaration from linux/amba/clcd.h already prompts to use the panel device node here. 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>
Diffstat (limited to 'drivers/video/fbdev/amba-clcd-nomadik.h')
-rw-r--r--drivers/video/fbdev/amba-clcd-nomadik.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/fbdev/amba-clcd-nomadik.h b/drivers/video/fbdev/amba-clcd-nomadik.h
index 50aa9bda69fd..a24032c8156e 100644
--- a/drivers/video/fbdev/amba-clcd-nomadik.h
+++ b/drivers/video/fbdev/amba-clcd-nomadik.h
@@ -6,8 +6,7 @@
#ifdef CONFIG_ARCH_NOMADIK
int nomadik_clcd_init_board(struct amba_device *adev,
struct clcd_board *board);
-int nomadik_clcd_init_panel(struct clcd_fb *fb,
- struct device_node *endpoint);
+int nomadik_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel);
#else
static inline int nomadik_clcd_init_board(struct amba_device *adev,
struct clcd_board *board)
@@ -15,7 +14,7 @@ static inline int nomadik_clcd_init_board(struct amba_device *adev,
return 0;
}
static inline int nomadik_clcd_init_panel(struct clcd_fb *fb,
- struct device_node *endpoint)
+ struct device_node *panel)
{
return 0;
}