Skip to content

fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup

Michał Kępień lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86: fujitsu-laptop: decrease indentation in acpi_fujitsu_hotkey_notify()drivers/platform/x86/fujitsu-laptop.c+75 -771 reply
2/4platform/x86: fujitsu-laptop: move keycode processing to separate functionsdrivers/platform/x86/fujitsu-laptop.c+43 -331 reply
3/4platform/x86: fujitsu-laptop: break up complex loop conditiondrivers/platform/x86/fujitsu-laptop.c+5 -31 reply
4/4platform/x86: fujitsu-laptop: make hotkey handling functions more similardrivers/platform/x86/fujitsu-laptop.c+5 -51 reply

Reviews trailers per patch

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

PatchJonathan Woithe
SeriesA-b
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v1 thread

Cover letter [PATCH 0/4] fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup

I am currently preparing a patch series which makes fujitsu-laptop use a sparse keymap for hotkey handling. Before that will happen, though, acpi_fujitsu_hotkey_notify() could use a revamp because it is pretty hard to read as it is. To avoid posting everything at once, here are a few patches which IMHO make that function easier to read. Some of these changes might be a matter of taste, so feel free to NACK them or suggest a preferred alternative.

 drivers/platform/x86/fujitsu-laptop.c | 174 ++++++++++++++++++----------------
 1 file changed, 92 insertions(+), 82 deletions(-)
Signature · 1 line
2.11.0