platform/x86: fujitsu-laptop: rename FUNC_RFKILL to FUNC_FLAGS
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 8 Feb 2017 13:46:27 +0000 (14:46 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 26 Feb 2017 15:01:07 +0000 (17:01 +0200)
commit8ef27bd3410c4e5856bac2315ef51224926020e0
tree5689cadd0823adf4257e744261959ad13fbf70df
parent1650602691f4e8ea8f6e306452a72ac9a611932a
platform/x86: fujitsu-laptop: rename FUNC_RFKILL to FUNC_FLAGS

FUNC subfunction 0x1000 is currently referred to as FUNC_RFKILL, which
is misleading, because it handles more than just radio devices (also
lid, dock, LEDs).  Rename the FUNC_RFKILL constant to FUNC_FLAGS.
Replace "rfkill" with "flags" in the names of its associated fields
inside struct fujitsu_laptop.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
[kempniu: rebase patch, rewrite commit message]
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
drivers/platform/x86/fujitsu-laptop.c