Skip to contentSkip to conversation

mfd: Conver tc35892 to new irq_ APIs

PATCH In review Mark Brown 2 participants 2 messages Dec 12, 2010 – Dec 13, 2010 Multifunction devices (MFD)

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Conver tc35892 to new irq_ APIs

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.

---
 drivers/mfd/tc35892.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/mfd/tc35892.c +4 -4
index e619e2a..6db55d8 100644
@@ -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)
Signature · 1 line
1.7.2.3