projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
[cascardo/linux.git]
/
drivers
/
gpio
/
gpio-dwapb.c
diff --git
a/drivers/gpio/gpio-dwapb.c
b/drivers/gpio/gpio-dwapb.c
index
55fa985
..
c5be4b9
100644
(file)
--- a/
drivers/gpio/gpio-dwapb.c
+++ b/
drivers/gpio/gpio-dwapb.c
@@
-149,7
+149,7
@@
static u32 dwapb_do_irq(struct dwapb_gpio *gpio)
static void dwapb_irq_handler(u32 irq, struct irq_desc *desc)
{
- struct dwapb_gpio *gpio = irq_
get_handler_data(irq
);
+ struct dwapb_gpio *gpio = irq_
desc_get_handler_data(desc
);
struct irq_chip *chip = irq_desc_get_chip(desc);
dwapb_do_irq(gpio);