diff options
author | Michał Kępień | 2017-04-05 08:49:10 +0200 |
---|---|---|
committer | Darren Hart (VMware) | 2017-04-13 19:16:07 +0200 |
commit | 5c495d6201fb0efafcf6e26b3c82a7bd01ec1b69 (patch) | |
tree | 3bb70bfcaf533ceeb8fe43b375d19a5606527934 /drivers/platform/x86/silead_dmi.c | |
parent | platform/x86: fujitsu-laptop: account for backlight power when determining br... (diff) | |
download | kernel-qcow2-linux-5c495d6201fb0efafcf6e26b3c82a7bd01ec1b69.tar.gz kernel-qcow2-linux-5c495d6201fb0efafcf6e26b3c82a7bd01ec1b69.tar.xz kernel-qcow2-linux-5c495d6201fb0efafcf6e26b3c82a7bd01ec1b69.zip |
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>
Diffstat (limited to 'drivers/platform/x86/silead_dmi.c')
0 files changed, 0 insertions, 0 deletions