diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-04-04 10:04:28 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-04-07 12:48:19 +0200 |
commit | 8744eeec539aa760c41a64b3efbb77868b1d700a (patch) | |
tree | 6d3a5b3d142911bd6646041c9255a89de6342314 /Makefile | |
parent | HID: lenovo: Remove lenovo_led_brightness_get() (diff) | |
download | linux-8744eeec539aa760c41a64b3efbb77868b1d700a.tar.xz linux-8744eeec539aa760c41a64b3efbb77868b1d700a.zip |
HID: lenovo: Set LEDs max_brightness value
The LEDs can only by turned on/off, so max_brightness should be set to 1.
Without this the max_brightness sysfs-attribute will report 255 which is
wrong.
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions