]> git.baikalelectronics.ru Git - 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)
commitedd4d10ad9dbf72888152a91055597f486b26262
treed6ce2eb65a061550fc383b46f7f51e92ebc765e4
parent45c0b8f4e4a7553c2cae3cab85eabfa224111756
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