power: axp818: Fix typo in axp_set_dldo
authorOndrej Jirman <megous@megous.com>
Wed, 13 Feb 2019 17:51:05 +0000 (18:51 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 8 Mar 2019 06:06:59 +0000 (11:36 +0530)
commitb24db49cc2be5c0287f8ee5257b84f98323048c4
tree7c940ff4d1da0272a3ff3146434b0429ba8097e1
parentf18b7b2798cc37b613b5d3dda2e1461857a913b8
power: axp818: Fix typo in axp_set_dldo

Fix typo in axp_set_dldo() so that it correctly uses AXP818_DLDO1_CTRL
register to configure the voltage instead of setting AXP818_ELDO1_CTRL
register which is obviously incorrect.

Signed-off-by: Ondřej Jirman <megous@megous.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/power/axp818.c