pinctrl: at91: Switch to using managed clk_get
authorPramod Gurav <pramod.gurav@smartplayin.com>
Sun, 31 Aug 2014 11:21:52 +0000 (16:51 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Sep 2014 08:34:03 +0000 (10:34 +0200)
commit02b837ffe033ed3b50787e0f3e4103ea5a34636b
tree51dca3e1e9b23074fb777a1f5ee8e859818c75f1
parent1f81bdc7a08e7aee271a4969f451207fd7946894
pinctrl: at91: Switch to using managed clk_get

This patch switches to using managed version of clk_get and hence
removes clk_put from failure path.

CC: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
CC: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c