diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2011-10-25 03:54:59 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-25 19:52:02 -0400 |
commit | 23405b024dbf2ffe5f5ef7a3460a7bfad489d5f4 (patch) | |
tree | 89add902568da81fd2766e1965e079ac3a797da6 /arch/blackfin/mach-bf537 | |
parent | 5101ea91c14978c8e8b74c8e65df43f4da9be6fb (diff) |
Blackfin: boards: clean up i2c_board_info
Remove i2c_board_info for driver that doesn't exist anymore.
Delete irq_flags for drivers that don't use them anymore.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index f74ee6bbb246..00a51ce0f0c2 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -2134,23 +2134,6 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
2134 | }, | 2134 | }, |
2135 | #endif | 2135 | #endif |
2136 | 2136 | ||
2137 | #if defined(CONFIG_AD7414) || defined(CONFIG_AD7414_MODULE) | ||
2138 | { | ||
2139 | I2C_BOARD_INFO("ad7414", 0x9), | ||
2140 | .irq = IRQ_PG5, | ||
2141 | .irq_flags = IRQF_TRIGGER_LOW, | ||
2142 | }, | ||
2143 | #endif | ||
2144 | |||
2145 | #if defined(CONFIG_AD7416) || defined(CONFIG_AD7416_MODULE) | ||
2146 | { | ||
2147 | I2C_BOARD_INFO("ad7417", 0xb), | ||
2148 | .irq = IRQ_PG5, | ||
2149 | .irq_flags = IRQF_TRIGGER_LOW, | ||
2150 | .platform_data = (void *)GPIO_PF4, | ||
2151 | }, | ||
2152 | #endif | ||
2153 | |||
2154 | #if defined(CONFIG_ADE7854_I2C) || defined(CONFIG_ADE7854_I2C_MODULE) | 2137 | #if defined(CONFIG_ADE7854_I2C) || defined(CONFIG_ADE7854_I2C_MODULE) |
2155 | { | 2138 | { |
2156 | I2C_BOARD_INFO("ade7854", 0x38), | 2139 | I2C_BOARD_INFO("ade7854", 0x38), |
@@ -2161,15 +2144,6 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
2161 | { | 2144 | { |
2162 | I2C_BOARD_INFO("adt75", 0x9), | 2145 | I2C_BOARD_INFO("adt75", 0x9), |
2163 | .irq = IRQ_PG5, | 2146 | .irq = IRQ_PG5, |
2164 | .irq_flags = IRQF_TRIGGER_LOW, | ||
2165 | }, | ||
2166 | #endif | ||
2167 | |||
2168 | #if defined(CONFIG_ADT7408) || defined(CONFIG_ADT7408_MODULE) | ||
2169 | { | ||
2170 | I2C_BOARD_INFO("adt7408", 0x18), | ||
2171 | .irq = IRQ_PG5, | ||
2172 | .irq_flags = IRQF_TRIGGER_LOW, | ||
2173 | }, | 2147 | }, |
2174 | #endif | 2148 | #endif |
2175 | 2149 | ||
@@ -2178,7 +2152,6 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
2178 | I2C_BOARD_INFO("adt7410", 0x48), | 2152 | I2C_BOARD_INFO("adt7410", 0x48), |
2179 | /* CT critical temperature event. line 0 */ | 2153 | /* CT critical temperature event. line 0 */ |
2180 | .irq = IRQ_PG5, | 2154 | .irq = IRQ_PG5, |
2181 | .irq_flags = IRQF_TRIGGER_LOW, | ||
2182 | .platform_data = (void *)&adt7410_platform_data, | 2155 | .platform_data = (void *)&adt7410_platform_data, |
2183 | }, | 2156 | }, |
2184 | #endif | 2157 | #endif |
@@ -2187,7 +2160,6 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
2187 | { | 2160 | { |
2188 | I2C_BOARD_INFO("ad7291", 0x20), | 2161 | I2C_BOARD_INFO("ad7291", 0x20), |
2189 | .irq = IRQ_PG5, | 2162 | .irq = IRQ_PG5, |
2190 | .irq_flags = IRQF_TRIGGER_LOW, | ||
2191 | }, | 2163 | }, |
2192 | #endif | 2164 | #endif |
2193 | 2165 | ||