mfd: arizona: Use devres to manage reset GPIO
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 11 May 2015 12:58:01 +0000 (13:58 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 22 Jun 2015 11:25:08 +0000 (12:25 +0100)
commit5f056bf04201dc533f5d10acf028435ede0a1442
tree4d1de294bffb4c57f761d5a06f78a776d581a8d6
parent6c284c9a343a16d0a31d689558e1da174f37a0b0
mfd: arizona: Use devres to manage reset GPIO

This also handily fixes a leak of the GPIO in arizona_dev_exit.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c