ARM: PNX4008: convert i2c-pnx to use clk API enable/disable calls
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Nov 2009 11:44:46 +0000 (11:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Feb 2010 17:32:39 +0000 (17:32 +0000)
commitebdbbf2003ae2342147c87c2a6c6ed8984b9cede
tree2d3228b7a0b556e00f9082a5f4d09d426d03f11b
parent0321cb83e1c3f3a4282bd620c6cec78c5b80b572
ARM: PNX4008: convert i2c-pnx to use clk API enable/disable calls

clk_set_rate() is not supposed to be used to turn clocks on and off.
That's what clk_enable/clk_disable is for.

Acked-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pnx4008/clock.c
drivers/i2c/busses/i2c-pnx.c