diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-04-04 10:04:27 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-04-07 12:48:19 +0200 |
commit | 033c978680255a81c6284cb6ea4de20bd2bdbe5c (patch) | |
tree | 27b9475ece19a7a67edee4eef4889c7bff1611ae /mm/zsmalloc.c | |
parent | 34348a8661e3cd67dcf6938f08c8bb77522301f7 (diff) |
HID: lenovo: Remove lenovo_led_brightness_get()
The led_classdev already contains a cached value of the last set
brightness, the brightness_get callback is only meant for LED drivers
which can read back the actual / current brightness from the hardware.
Since lenovo_led_brightness_get() just returns the last set value
it does not add any functionality, so we can just remove it.
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 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions