power: supply: mt6360: Use LINEAR_RANGE_IDX()
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 31 Oct 2022 09:25:00 +0000 (11:25 +0200)
committerSebastian Reichel <sre@kernel.org>
Tue, 1 Nov 2022 00:01:50 +0000 (01:01 +0100)
commiteae063f64714c2ab92eda900031c5e34a5597201
tree6bf123d5e1bc480a03dbbcbea691a52af159371e
parent9a265e04b99dd2e9c2fac26875e120c777f14f43
power: supply: mt6360: Use LINEAR_RANGE_IDX()

Do minor clean-up by using the newly inroduced LINEAR_RANGE_IDX()
initialization macro.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/mt6360_charger.c