[PATCH v3 0/9] staging: panel: Refactor panel initialization

From: Mariusz Gorski
Date: Thu Nov 27 2014 - 16:37:28 EST


This set of patches focuses on making current initialization
process easier to understand - especially it tries to emphasize
what are the priorities of the params coming from different
sources (Kconfig values, device profiles and module param values
set on loading). I paid attention not to change to behaviour of
the code itself (at least for now), so all hacky places are kept.

The whole patchset is already:
Acked-by: Willy Tarreau <w@xxxxxx>

v2: Don't introduce new macros for param value check
v3: Resend, no other changes

Mariusz Gorski (9):
staging: panel: Set default parport module param value
staging: panel: Call init function directly
staging: panel: Remove magic numbers
staging: panel: Use defined value or checking module params state
staging: panel: Start making module params read-only
staging: panel: Make two more module params read-only
staging: panel: Refactor LCD init code
staging: panel: Remove more magic number comparison
staging: panel: Move LCD-related state into struct lcd

drivers/staging/panel/panel.c | 669 ++++++++++++++++++++++--------------------
1 file changed, 354 insertions(+), 315 deletions(-)

--
2.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/