[ARM] omap: i2c: remove conditional ick clocks
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 23 Jan 2009 22:57:12 +0000 (22:57 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:20 +0000 (17:50 +0000)
commit5fe23380405d3a65ce6f46d270c4d3a31027430b
treee7c9753c209c2c90b91fd5c507396e51187dbf25
parent0e9ae109e4eece027ede4f3f0edc8e659f8298c9
[ARM] omap: i2c: remove conditional ick clocks

By providing a dummy ick for OMAP1510 and OMAP310, we avoid having
SoC conditional clock information in i2c-omap.c.  Also, fix the
error handling by making sure we propagate the error returned via
clk_get().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap1/clock.c
drivers/i2c/busses/i2c-omap.c