arm: mach-omap2: hsmmc_reset: fix clk_get() error handling
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Sat, 18 Dec 2010 02:15:05 +0000 (18:15 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 18 Dec 2010 02:15:05 +0000 (18:15 -0800)
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>

No differences found