]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2a168167ea4c2bd64a52fd4327c26bd737324b5
tree4d1de294bffb4c57f761d5a06f78a776d581a8d6
parent89f030f5b11a61645f2b04e8b19447c45e0ac732
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