]> Git Repo - linux.git/commit - drivers/regulator/arizona-micsupp.c
regulator: arizona-micsupp: Drop OF node reference on error path
authorCharles Keepax <[email protected]>
Fri, 20 Feb 2015 16:08:44 +0000 (16:08 +0000)
committerMark Brown <[email protected]>
Sat, 21 Feb 2015 14:30:30 +0000 (23:30 +0900)
commita7b976ae4bff9ff4f9c9943d3232dec7e87c68b9
tree823648d45b3f9a161f6135bd63a984321e233668
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735
regulator: arizona-micsupp: 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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
drivers/regulator/arizona-micsupp.c
This page took 0.049482 seconds and 4 git commands to generate.