soc: mediatek: PMIC wrap: Fix error handling
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 19 Feb 2017 13:12:49 +0000 (14:12 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:25 +0000 (10:47 +0200)
commitf282693f808723b6593db34c47fa0e17cb52586f
tree8ebc2f2165fe3df476169112bc46b4b574c13604
parent36c310f55bdd447cbac64bcb81a97c233170c9cb
soc: mediatek: PMIC wrap: Fix error handling

According to error handling in this function, it is likely that going to
'err_out2' was expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c