Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242552
b: refs/heads/master
c: 08f1b80
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 24, 2011
1 parent 35c75c9 commit 3e42d97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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: b51804bcf0774a8bc6af1e8bb6ae818f4b71173a
refs/heads/master: 08f1b807355c8d355885a71e7fd462fe9d499411
4 changes: 2 additions & 2 deletions trunk/drivers/gpio/pl061.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ static int pl061_probe(struct amba_device *dev, const struct amba_id *id)
else
pl061_direction_input(&chip->gc, i);

irq_set_chip(i + chip->irq_base, &pl061_irqchip);
irq_set_handler(i + chip->irq_base, handle_simple_irq);
irq_set_chip_and_handler(i + chip->irq_base, &pl061_irqchip,
handle_simple_irq);
set_irq_flags(i+chip->irq_base, IRQF_VALID);
irq_set_chip_data(i + chip->irq_base, chip);
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/gpio/sx150x.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,7 @@ static void sx150x_remove_irq_chip(struct sx150x_chip *chip)

for (n = 0; n < chip->dev_cfg->ngpios; ++n) {
irq = chip->irq_base + n;
irq_set_handler(irq, NULL);
irq_set_chip(irq, NULL);
irq_set_chip_and_handler(irq, NULL, NULL);
}
}

Expand Down

0 comments on commit 3e42d97

Please sign in to comment.