mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ARM: sa1100: convert SA11x0 related code to use new chained handler helper
Convert SA11x0 (Neponset, SA1111, and UCB1x00 code) to use the new irq_set_chained_handler_and_data() helper. Signed-off-by: Russell King <[email protected]> Cc: Alexandre Courbot <[email protected]> Cc: Hans Ulli Kroll <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Lee Jones <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Thierry Reding <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
3b0f95be14
commit
056c0acf87
3 changed files with 5 additions and 8 deletions
|
|
@ -566,8 +566,7 @@ static int ucb1x00_probe(struct mcp *mcp)
|
|||
}
|
||||
|
||||
irq_set_irq_type(ucb->irq, IRQ_TYPE_EDGE_RISING);
|
||||
irq_set_handler_data(ucb->irq, ucb);
|
||||
irq_set_chained_handler(ucb->irq, ucb1x00_irq);
|
||||
irq_set_chained_handler_and_data(ucb->irq, ucb1x00_irq, ucb);
|
||||
|
||||
if (pdata && pdata->gpio_base) {
|
||||
ucb->gpio.label = dev_name(&ucb->dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue