Skip to content

staging: panel: Refactor panel initialization

Mariusz Gorski lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 0 repliesNew
  2. v29 patches 17 repliesSuperseded
  3. v19 patches 15 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9staging: panel: Set default parport module param valuedrivers/staging/panel/panel.c+1 -40 replies
2/9staging: panel: Call init function directlydrivers/staging/panel/panel.c+1 -60 replies
3/9staging: panel: Remove magic numbersdrivers/staging/panel/panel.c+12 -100 replies
4/9staging: panel: Use defined value or checking module params statedrivers/staging/panel/panel.c+43 -430 replies
5/9staging: panel: Start making module params read-onlydrivers/staging/panel/panel.c+21 -140 replies
6/9staging: panel: Make two more module params read-onlydrivers/staging/panel/panel.c+37 -340 replies
7/9staging: panel: Refactor LCD init codedrivers/staging/panel/panel.c+163 -1410 replies
8/9staging: panel: Remove more magic number comparisondrivers/staging/panel/panel.c+10 -100 replies
9/9staging: panel: Move LCD-related state into struct lcddrivers/staging/panel/panel.c+134 -1210 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWilly Tarreau
SeriesA-b
1/9A-b
2/9A-b
3/9A-b
4/9A-b
5/9A-b
6/9A-b
7/9A-b
8/9A-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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:

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(-)
Signature · 1 line
2.1.3