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, 28 Jan 2019 12:21:48 +0000 (12:21 +0000)
commit252d1c20551b745f33a490892335d2b09f5d48a7
treec909fcbcc4c673c91839298a01ed5d4ac7c25eea
parent23295d7980f7dce61f45da7fd14a19e37ef2eea1
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