diff options
author | Fabio Falzoi <fabio.falzoi84@gmail.com> | 2015-08-02 22:30:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-07 15:10:58 -0700 |
commit | dbb588a4f7bf5dd8ad871f5d5dec228295cc4b7e (patch) | |
tree | 2182d392764a0975c07cd7ca53d69fee636be9be /scripts/patch-kernel | |
parent | 25e66320167117d428d2c99076be5e5de557b7d1 (diff) |
Staging: fbtft: Use a struct to describe each LCD controller
Use a struct flexfb_lcd_controller to holds chip properties, instead of
relying on a long 'if - else if' chain.
This allows to:
- use a simple linear search to verify if a certain LCD controller
model is supported or not.
- add support for a new LCD chip controller simply defining a new
flexfb_lcd_controller struct.
Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions