* [PATCH] mfd: Conver tc35892 to new irq_ APIs
@ 2010-12-12 12:26 Mark Brown
2010-12-13 3:33 ` Rabin Vincent
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2010-12-12 12:26 UTC (permalink / raw)
To: Rabin Vincent, Linus Walleij, Samuel Ortiz
Cc: linux-kernel, Paul Mundt, Mark Brown
The genirq core is being converted to pass struct irq_data to irq_chip
operations rather than an IRQ number. Update the tc35892 driver to the
new APIs.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/tc35892.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mfd/tc35892.c b/drivers/mfd/tc35892.c
index e619e2a..6db55d8 100644
--- a/drivers/mfd/tc35892.c
+++ b/drivers/mfd/tc35892.c
@@ -163,15 +163,15 @@ static irqreturn_t tc35892_irq(int irq, void *data)
return IRQ_HANDLED;
}
-static void tc35892_irq_dummy(unsigned int irq)
+static void tc35892_irq_dummy(struct irq_data *data)
{
/* No mask/unmask at this level */
}
static struct irq_chip tc35892_irq_chip = {
- .name = "tc35892",
- .mask = tc35892_irq_dummy,
- .unmask = tc35892_irq_dummy,
+ .name = "tc35892",
+ .irq_mask = tc35892_irq_dummy,
+ .irq_unmask = tc35892_irq_dummy,
};
static int tc35892_irq_init(struct tc35892 *tc35892)
--
1.7.2.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: Conver tc35892 to new irq_ APIs
2010-12-12 12:26 [PATCH] mfd: Conver tc35892 to new irq_ APIs Mark Brown
@ 2010-12-13 3:33 ` Rabin Vincent
0 siblings, 0 replies; 2+ messages in thread
From: Rabin Vincent @ 2010-12-13 3:33 UTC (permalink / raw)
To: Mark Brown; +Cc: Linus WALLEIJ, Samuel Ortiz, linux-kernel, Paul Mundt
On Sun, Dec 12, 2010 at 13:26:09 +0100, Mark Brown wrote:
> The genirq core is being converted to pass struct irq_data to irq_chip
> operations rather than an IRQ number. Update the tc35892 driver to the
> new APIs.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Rabin Vincent <rabin.vincent@stericsson.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-13 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-12 12:26 [PATCH] mfd: Conver tc35892 to new irq_ APIs Mark Brown
2010-12-13 3:33 ` Rabin Vincent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®