Commit 560f2eb7 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Lee Jones

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: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230323105410.10396-1-lukas.bulwahn@gmail.com
parent 91b8961e
...@@ -29,7 +29,7 @@ config LEDS_QCOM_LPG ...@@ -29,7 +29,7 @@ config LEDS_QCOM_LPG
config LEDS_MT6370_RGB config LEDS_MT6370_RGB
tristate "LED Support for MediaTek MT6370 PMIC" tristate "LED Support for MediaTek MT6370 PMIC"
depends on MFD_MT6370 depends on MFD_MT6370
select LINEAR_RANGE select LINEAR_RANGES
help help
Say Y here to enable support for MT6370_RGB LED device. Say Y here to enable support for MT6370_RGB LED device.
In MT6370, there are four channel current-sink LED drivers that In MT6370, there are four channel current-sink LED drivers that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment