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)
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

Simple merge