]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: arizona: Tidy up probe error path
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 25 Nov 2016 13:48:30 +0000 (13:48 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Dec 2016 14:23:38 +0000 (15:23 +0100)
commitb87be857d643a96311fba6234ab4d5a01a11f56a
treedb6b560be77b70df5bd10cd876611e3e0c68a1b0
parentc03f25515614f330064562ac77a5df1e42713ffe
gpio: arizona: Tidy up probe error path

There is some unnecessary complexity in the error path which now things
are converted to devm is actually very simple. This patch simplifies
things.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-arizona.c