leds: led-core: Get rid of enum led_brightness
authorAbanoub Sameh <abanoubsameh8@gmail.com>
Fri, 11 Dec 2020 20:42:08 +0000 (22:42 +0200)
committerPavel Machek <pavel@ucw.cz>
Fri, 19 Feb 2021 10:35:28 +0000 (11:35 +0100)
commitaf0bfab907a011e146304d20d81dddce4e4d62d0
treeeb0f9ec3d2f49c5ae8ea035f4096b6ae6a79a0b3
parentd86464527681b72941939258ef68904cae6f8136
leds: led-core: Get rid of enum led_brightness

This gets rid of enum led_brightness in the main led files,
because it is deprecated, and an unsigned int can be used instead.

We can get rid of led_brightness completely and
patches can also be supplied for the other drivers' files.

Signed-off-by: Abanoub Sameh <abanoubsameh@protonmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/led-class.c
drivers/leds/led-core.c
drivers/leds/leds.h
include/linux/leds.h