regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 26 Jan 2019 06:18:09 +0000 (22:18 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Feb 2019 08:54:20 +0000 (09:54 +0100)
commit16c8a595740035c4a7ede608a60b4a59f67b76e6
tree380bf0d1cb5e7ce0483f47a06d1ac175fd9c75d4
parent8cf268e535e827925558034c60ce0e69400feff4
regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803

Looks like refactoring didn't go well and left ALDO2, DLDO2 and ELDO3
definitions broken for AXP803 - now they are using register address
instead of mask. Fix it by using mask where necessary.

Fixes: db4a555f7c4cf ("regulator: axp20x: use defines for masks")
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/axp20x-regulator.c