backlight: qcom-wled: Rename PM8941* to WLED3
authorKiran Gunda <kgunda@codeaurora.org>
Fri, 1 Nov 2019 06:27:00 +0000 (11:57 +0530)
committerLee Jones <lee.jones@linaro.org>
Fri, 1 Nov 2019 08:11:39 +0000 (08:11 +0000)
commitbb800a3715d4e9855db7a0586b57d68660ac623d
treef2f6bcd85e90ffbdef554ccf1522e13fe91b4e16
parent059dcfcb4afd0398a06dc4c75994b4f5604ef28a
backlight: qcom-wled: Rename PM8941* to WLED3

Rename the PM8941* references as WLED3 to make the driver
generic and have WLED support for other PMICs. Also rename
"i_boost_limit" and "i_limit" variables to "boost_i_limit"
and "string_i_limit" respectively to resemble the corresponding
register names.

Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/qcom-wled.c