Skip to content

Commit 560f2eb

Browse files
bulwahnlag-linaro
authored andcommitted
leds: rgb: mt6370: Correct config name to select in LEDS_MT6370_RGB
Commit 55a8a5c ("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: 55a8a5c ("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
1 parent 91b8961 commit 560f2eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/rgb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ config LEDS_QCOM_LPG
2929
config LEDS_MT6370_RGB
3030
tristate "LED Support for MediaTek MT6370 PMIC"
3131
depends on MFD_MT6370
32-
select LINEAR_RANGE
32+
select LINEAR_RANGES
3333
help
3434
Say Y here to enable support for MT6370_RGB LED device.
3535
In MT6370, there are four channel current-sink LED drivers that

0 commit comments

Comments
 (0)