platform/x86: fujitsu-laptop: remove redundant fields from struct fujitsu_bl
authorMichał Kępień <kernel@kempniu.pl>
Wed, 5 Apr 2017 06:49:10 +0000 (08:49 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:16:07 +0000 (10:16 -0700)
commit5c495d6201fb0efafcf6e26b3c82a7bd01ec1b69
tree3bb70bfcaf533ceeb8fe43b375d19a5606527934
parent5959ddd02be4e435da866ee065187f5c8bccea28
platform/x86: fujitsu-laptop: remove redundant fields from struct fujitsu_bl

The dev field of struct fujitsu_bl is assigned in acpi_fujitsu_bl_add(),
but never used afterwards.  brightness_changed is set in get_lcd_level()
and then its value is only printed in a debug message, so it does not
influence execution flow.  Remove both fields as they are redundant.
Update the aforementioned debug message.  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