leds: rgb: mt6370: Correct config name to select in LEDS_MT6370_RGB
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 23 Mar 2023 10:54:10 +0000 (11:54 +0100)
committerLee Jones <lee@kernel.org>
Thu, 30 Mar 2023 12:42:56 +0000 (13:42 +0100)
commit560f2eb7d6a775e488832b724b25bde33ce71b9f
treedbbf6599440bdfb6942a1ece97ef414554b14937
parent91b8961eaf051bd437a357a604bb420ce5274003
leds: rgb: mt6370: Correct config name to select in LEDS_MT6370_RGB

Commit 55a8a5c16eb3 ("leds: rgb: mt6370: Add MediaTek MT6370 current sink
type LED Indicator support") introduces the config LEDS_MT6370_RGB, which
selects the non-existing config LINEAR_RANGE. As the driver includes
linux/linear_range.h, it is a safe guess that the config actually intends
to select LINEAR_RANGES, which provides the library implementation for the
function prototypes defined in the linear_range header file.

Correct this naming confusion in the LEDS_MT6370_RGB config definition.

Fixes: 55a8a5c16eb3 ("leds: rgb: mt6370: Add MediaTek MT6370 current sink type LED Indicator support")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230323105410.10396-1-lukas.bulwahn@gmail.com
drivers/leds/rgb/Kconfig