[ARM] 5298/1: Drop desc_handle_irq()
desc_handle_irq() was declared as obsolete since long ago. Replace it with generic_handle_irq() Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
27c4cae281
commit
d8aa0251f1
@ -201,7 +201,6 @@ gpio_irq_handler(unsigned irq, struct irq_desc *desc)
|
||||
desc->chip->ack(irq);
|
||||
while (1) {
|
||||
u32 status;
|
||||
struct irq_desc *gpio;
|
||||
int n;
|
||||
int res;
|
||||
|
||||
@ -215,12 +214,10 @@ gpio_irq_handler(unsigned irq, struct irq_desc *desc)
|
||||
|
||||
/* now demux them to the right lowlevel handler */
|
||||
n = (int)get_irq_data(irq);
|
||||
gpio = &irq_desc[n];
|
||||
while (status) {
|
||||
res = ffs(status);
|
||||
n += res;
|
||||
gpio += res;
|
||||
desc_handle_irq(n - 1, gpio - 1);
|
||||
generic_handle_irq(n - 1);
|
||||
status >>= res;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user