diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 12:46:07 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 17:32:39 +0000 |
commit | 6fff3da998ac3cc9ed8a84bf4f19911bd63c8c32 (patch) | |
tree | 97c80144615bbc9ff8c4baee20feb1cf2af20fef /arch/arm/mach-pnx4008/i2c.c | |
parent | ebdbbf2003ae2342147c87c2a6c6ed8984b9cede (diff) | |
download | blackbird-op-linux-6fff3da998ac3cc9ed8a84bf4f19911bd63c8c32.tar.gz blackbird-op-linux-6fff3da998ac3cc9ed8a84bf4f19911bd63c8c32.zip |
ARM: PNX4008: get i2c clock rate from clk API
Acked-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pnx4008/i2c.c')
-rw-r--r-- | arch/arm/mach-pnx4008/i2c.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-pnx4008/i2c.c b/arch/arm/mach-pnx4008/i2c.c index 14b4906bec2f..23ec335a4bc0 100644 --- a/arch/arm/mach-pnx4008/i2c.c +++ b/arch/arm/mach-pnx4008/i2c.c @@ -18,12 +18,6 @@ #include <mach/irqs.h> #include <mach/i2c.h> -static u32 calculate_input_freq(struct platform_device *pdev) -{ - return HCLK_MHZ; -} - - static struct i2c_pnx_algo_data pnx_algo_data0 = { .base = PNX4008_I2C1_BASE, .irq = I2C_1_INT, @@ -54,17 +48,14 @@ static struct i2c_adapter pnx_adapter2 = { }; static struct i2c_pnx_data i2c0_data = { - .calculate_input_freq = calculate_input_freq, .adapter = &pnx_adapter0, }; static struct i2c_pnx_data i2c1_data = { - .calculate_input_freq = calculate_input_freq, .adapter = &pnx_adapter1, }; static struct i2c_pnx_data i2c2_data = { - .calculate_input_freq = calculate_input_freq, .adapter = &pnx_adapter2, }; |