Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226029
b: refs/heads/master
c: abda3a2
h: refs/heads/master
i:
  226027: cfe5bdc
v: v3
  • Loading branch information
Samuel Ortiz authored and Linus Walleij committed Dec 20, 2010
1 parent edf70eb commit cee3a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c5728edbeb44819dba25a3c1b56702c87c9e419
refs/heads/master: abda3a24a99998279fe890ea8a789ebe4d605d78
13 changes: 1 addition & 12 deletions trunk/drivers/mfd/tc3589x.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,25 +170,14 @@ static irqreturn_t tc3589x_irq(int irq, void *data)
return IRQ_HANDLED;
}

static void tc3589x_irq_dummy(unsigned int irq)
{
/* No mask/unmask at this level */
}

static struct irq_chip tc3589x_irq_chip = {
.name = "tc3589x",
.mask = tc3589x_irq_dummy,
.unmask = tc3589x_irq_dummy,
};

static int tc3589x_irq_init(struct tc3589x *tc3589x)
{
int base = tc3589x->irq_base;
int irq;

for (irq = base; irq < base + TC3589x_NR_INTERNAL_IRQS; irq++) {
set_irq_chip_data(irq, tc3589x);
set_irq_chip_and_handler(irq, &tc3589x_irq_chip,
set_irq_chip_and_handler(irq, &dummy_irq_chip,
handle_edge_irq);
set_irq_nested_thread(irq, 1);
#ifdef CONFIG_ARM
Expand Down

0 comments on commit cee3a20

Please sign in to comment.