linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 8xx: remove rpx_install_isr() from i2c-rpx.c
@ 2005-08-06 18:03 Aristeu Sergio Rozanski Filho
  0 siblings, 0 replies; only message in thread
From: Aristeu Sergio Rozanski Filho @ 2005-08-06 18:03 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linuxppc-embedded

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

Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>

Index: 2.6-8xx/drivers/i2c/busses/i2c-rpx.c
===================================================================
--- 2.6-8xx.orig/drivers/i2c/busses/i2c-rpx.c	2005-08-05 17:00:06.000000000 -0300
+++ 2.6-8xx/drivers/i2c/busses/i2c-rpx.c	2005-08-05 17:05:36.000000000 -0300
@@ -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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-06 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06 18:03 [PATCH] 8xx: remove rpx_install_isr() from i2c-rpx.c Aristeu Sergio Rozanski Filho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).