Skip to contentSkip to conversation

8xx: remove rpx_install_isr() from i2c-rpx.c

PATCH New Aristeu Sergio Rozanski Filho 1 participant 1 message Aug 6, 2005 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 8xx: remove rpx_install_isr() from i2c-rpx.c

8xx: remove rpx_install_isr(), IRQ handler is installed on i2c-algo-8xx

drivers/i2c/busses/i2c-rpx.c +1 -11
Index: 2.6-8xx/drivers/i2c/busses/i2c-rpx.c
===================================================================
@@ -55,17 +55,7 @@
 	data->i2c = (i2c8xx_t *)&(((immap_t *)IMAP_ADDR)->im_i2c);
 }
 
-static int rpx_install_isr(int irq, void (*func)(void *, void *), void *data)
-{
-	/* install interrupt handler */
-	cpm_install_handler(irq, (void (*)(void *, struct pt_regs *)) func, data);
-
-	return 0;
-}
-
-static struct i2c_algo_8xx_data rpx_data = {
-	.setisr = rpx_install_isr
-};
+static struct i2c_algo_8xx_data rpx_data;
 
 static struct i2c_adapter rpx_ops = {
 	.owner		= THIS_MODULE,