arm: mach-omap2: hsmmc_reset: fix clk_get() error handling
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Tue, 21 Dec 2010 02:48:15 +0000 (18:48 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Dec 2010 02:48:15 +0000 (18:48 -0800)
commit434c23a7ef48763fd8d4adfb0edebb4237770f9d
tree31d5f523fa726c87e07ce1a061848ff275f98c87
parentf7bb0d9ab29e3159e22c3bfc843bd37c7d3c91a0
arm: mach-omap2: hsmmc_reset: fix clk_get() error handling

clk_get() return value should be checked with IS_ERR(). Furthermore,
clocks should be put and disabled properly.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c