platform/x86: fujitsu-laptop: rename call_fext_func() arguments
authorMichał Kępień <kernel@kempniu.pl>
Mon, 3 Apr 2017 09:38:59 +0000 (11:38 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:14:36 +0000 (10:14 -0700)
commitf68e492c068872b7174a7fdde27f9119ba04aee5
treeb0e7a36b7881d8fccc3ae155060188942d86846d
parent17e23555616116e1668e83029d26354c2479c78b
platform/x86: fujitsu-laptop: rename call_fext_func() arguments

Rename call_fext_func() arguments so that each argument's name signifies
its role:

  - cmd -> func: sub-function to call (flags, buttons etc.),
  - arg0 -> op: operation to perform (get, set, get capabilities etc.),
  - arg1 -> feature: feature to act on (e.g. which LED), if relevant,
  - arg2 -> state: state to set (e.g. LED on or off), if relevant.

Adjust whitespace to make checkpatch happy.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/fujitsu-laptop.c