[PATCH v3 4/7] HID: lenovo: Remove lenovo_led_brightness_get()

Pavel Machek pavel at ucw.cz
Tue Feb 23 10:03:38 CET 2021


On Sun 2021-02-21 12:20:02, Hans de Goede wrote:
> 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 at kernel.org>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Acked-by: Pavel Machek <pavel at ucw.cz>

-- 
http://www.livejournal.com/~pavelmachek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210223/299c05b0/attachment.sig>


More information about the Alsa-devel mailing list