]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
staging: panel: Refactor LCD init code
authorMariusz Gorski <marius.gorski@gmail.com>
Thu, 27 Nov 2014 21:36:51 +0000 (22:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:34:34 +0000 (16:34 -0800)
commit8037e2a3c00dca47ce08fca477394a6c7d82f992
treed6ce2eb65a061550fc383b46f7f51e92ebc765e4
parent87b8e0c88195cfc98c15e717af87034efba533f6
staging: panel: Refactor LCD init code

Rework lcd_init method to make it a little bit more clear about
the precedence of the params, move LCD geometry and pins layout
to the LCD struct and thus make the LCD-related module params
effectively read-only.

Signed-off-by: Mariusz Gorski <marius.gorski@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/panel/panel.c