ARM: OMAP: use gpio_to_irq
Have most uses of OMAP_GPIO_IRQ() use gpio_to_irq() instead. Calls used for table initialization are left alone, at least this time around. (This patch is for code in both the OMAP tree and mainline.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
committed by
Tony Lindgren
parent
e918edf7c2
commit
15f74b0335
@ -69,8 +69,8 @@ int __init debug_card_init(u32 addr, unsigned gpio)
|
||||
smc91x_resources[0].start = addr + 0x300;
|
||||
smc91x_resources[0].end = addr + 0x30f;
|
||||
|
||||
smc91x_resources[1].start = OMAP_GPIO_IRQ(gpio);
|
||||
smc91x_resources[1].end = OMAP_GPIO_IRQ(gpio);
|
||||
smc91x_resources[1].start = gpio_to_irq(gpio);
|
||||
smc91x_resources[1].end = gpio_to_irq(gpio);
|
||||
|
||||
status = omap_request_gpio(gpio);
|
||||
if (status < 0) {
|
||||
|
Reference in New Issue
Block a user