diff options
author | Michał Kępień <kernel@kempniu.pl> | 2017-04-05 08:49:05 +0200 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-04-13 10:16:06 -0700 |
commit | e06e4831d51decc23419b6c3d045f9c8c876da7d (patch) | |
tree | aa991939fd76fe05683189f80d9b7fc187704a24 /.gitignore | |
parent | bd079a2cc5afe3d980f054a72bc08dbbe17c216c (diff) |
platform/x86: fujitsu-laptop: clean up use_alt_lcd_levels handling
The value of each module parameter can be changed on the fly via sysfs.
However, the current way of handling use_alt_lcd_levels prevents the
user from dynamically switching from a value of 0 or 1 back to
autodetection as the latter is only performed upon ACPI device
instantiation. Fix this by moving autodetection (in a simplified form)
to set_lcd_level() and changing module parameter type to int. Do not
announce autodetection results in a debug message as current value of
use_alt_lcd_levels can simply be read from sysfs. Clarify module
parameter description.
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions