]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: arizona-ldo1: Drop OF node reference on error path
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 20 Feb 2015 16:08:43 +0000 (16:08 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 21 Feb 2015 14:30:02 +0000 (23:30 +0900)
commitec454d7016f2c9c897235b362089ddf9f1f8e4b8
tree861e10abaf8405d57eb0dd4cf1855da872faf398
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735
regulator: arizona-ldo1: Drop OF node reference on error path

We were not calling of_node_put if the regulator failed to register this
patch fixes this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/arizona-ldo1.c