power: fan53555: fix fan53555_regulator_set_value
authorVasily Khoruzhick <anarsoul@gmail.com>
Sun, 17 Nov 2019 18:47:36 +0000 (10:47 -0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 23 Nov 2019 14:29:49 +0000 (22:29 +0800)
commite82692ab325088fe78beba727862c377ced0fc8b
tree8a1cf4cf6ba1484d18b87565abda4e0036188d95
parentc9fca5ec8849b8fa16b16cece091645e7d3aa02b
power: fan53555: fix fan53555_regulator_set_value

fan53555_regulator_set_value() passes its own dev to pmic_clrsetbits()
instead of its parent (pmic). As result u-boot crashes when you try to
set voltage on fan53555 regulator

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/power/regulator/fan53555.c