pinctrl: at91: fix clk_unprepare and clk_disable order
authorBoris BREZILLON <b.brezillon@overkiz.com>
Sun, 15 Dec 2013 18:30:51 +0000 (19:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Dec 2013 13:21:43 +0000 (14:21 +0100)
commit795f9953eaccf9e343cad9aecbf8956046090d76
treec6fbb37934a75f0c67a303206a4bdbd69b7dfec4
parent8ba3f4d00078e7a49c60c0bd6298f29402c3a0a0
pinctrl: at91: fix clk_unprepare and clk_disable order

clk_unprepare shall be called before clk_disable.
Fix the issue by replacing the clk_unprepare and clk_disable calls by a
single clk_disable_unprepare call.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c