diff options
author | Michael Opdenacker <michael@free-electrons.com> | 2014-03-04 15:59:03 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-03-12 06:32:33 -0400 |
commit | 1ee6564d72ce718bf4e50d5684aa98d9d895f859 (patch) | |
tree | 48604cb661d2f025e5e2b1d190b6de708621fc9b /arch/arm/mach-ixp4xx | |
parent | 19bd9b286da6f28f4cb04757dd8509a38f9f34d7 (diff) |
ARM: 7998/1: IXP4xx: remove deprecated IRQF_DISABLED
This patch removes the use of the IRQF_DISABLED flag
from code in arch/arm/mach-ixp4xx
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/dsmg600-setup.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/fsg-setup.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-setup.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nslu2-setup.c | 6 |
5 files changed, 7 insertions, 13 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 6d68aed6548a..a465f27bc263 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -312,7 +312,7 @@ static irqreturn_t ixp4xx_timer_interrupt(int irq, void *dev_id) | |||
312 | 312 | ||
313 | static struct irqaction ixp4xx_timer_irq = { | 313 | static struct irqaction ixp4xx_timer_irq = { |
314 | .name = "timer1", | 314 | .name = "timer1", |
315 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 315 | .flags = IRQF_TIMER | IRQF_IRQPOLL, |
316 | .handler = ixp4xx_timer_interrupt, | 316 | .handler = ixp4xx_timer_interrupt, |
317 | .dev_id = &clockevent_ixp4xx, | 317 | .dev_id = &clockevent_ixp4xx, |
318 | }; | 318 | }; |
diff --git a/arch/arm/mach-ixp4xx/dsmg600-setup.c b/arch/arm/mach-ixp4xx/dsmg600-setup.c index 736dc692d540..43ee06d3abe5 100644 --- a/arch/arm/mach-ixp4xx/dsmg600-setup.c +++ b/arch/arm/mach-ixp4xx/dsmg600-setup.c | |||
@@ -233,8 +233,7 @@ static int __init dsmg600_gpio_init(void) | |||
233 | 233 | ||
234 | gpio_request(DSMG600_RB_GPIO, "reset button"); | 234 | gpio_request(DSMG600_RB_GPIO, "reset button"); |
235 | if (request_irq(gpio_to_irq(DSMG600_RB_GPIO), &dsmg600_reset_handler, | 235 | if (request_irq(gpio_to_irq(DSMG600_RB_GPIO), &dsmg600_reset_handler, |
236 | IRQF_DISABLED | IRQF_TRIGGER_LOW, | 236 | IRQF_TRIGGER_LOW, "DSM-G600 reset button", NULL) < 0) { |
237 | "DSM-G600 reset button", NULL) < 0) { | ||
238 | 237 | ||
239 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 238 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
240 | gpio_to_irq(DSMG600_RB_GPIO)); | 239 | gpio_to_irq(DSMG600_RB_GPIO)); |
diff --git a/arch/arm/mach-ixp4xx/fsg-setup.c b/arch/arm/mach-ixp4xx/fsg-setup.c index 429966b756ed..5c4b0c4a1b37 100644 --- a/arch/arm/mach-ixp4xx/fsg-setup.c +++ b/arch/arm/mach-ixp4xx/fsg-setup.c | |||
@@ -208,16 +208,14 @@ static void __init fsg_init(void) | |||
208 | platform_add_devices(fsg_devices, ARRAY_SIZE(fsg_devices)); | 208 | platform_add_devices(fsg_devices, ARRAY_SIZE(fsg_devices)); |
209 | 209 | ||
210 | if (request_irq(gpio_to_irq(FSG_RB_GPIO), &fsg_reset_handler, | 210 | if (request_irq(gpio_to_irq(FSG_RB_GPIO), &fsg_reset_handler, |
211 | IRQF_DISABLED | IRQF_TRIGGER_LOW, | 211 | IRQF_TRIGGER_LOW, "FSG reset button", NULL) < 0) { |
212 | "FSG reset button", NULL) < 0) { | ||
213 | 212 | ||
214 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 213 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
215 | gpio_to_irq(FSG_RB_GPIO)); | 214 | gpio_to_irq(FSG_RB_GPIO)); |
216 | } | 215 | } |
217 | 216 | ||
218 | if (request_irq(gpio_to_irq(FSG_SB_GPIO), &fsg_power_handler, | 217 | if (request_irq(gpio_to_irq(FSG_SB_GPIO), &fsg_power_handler, |
219 | IRQF_DISABLED | IRQF_TRIGGER_LOW, | 218 | IRQF_TRIGGER_LOW, "FSG power button", NULL) < 0) { |
220 | "FSG power button", NULL) < 0) { | ||
221 | 219 | ||
222 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", | 220 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", |
223 | gpio_to_irq(FSG_SB_GPIO)); | 221 | gpio_to_irq(FSG_SB_GPIO)); |
diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c index 507cb5233537..4e0f762bc651 100644 --- a/arch/arm/mach-ixp4xx/nas100d-setup.c +++ b/arch/arm/mach-ixp4xx/nas100d-setup.c | |||
@@ -295,8 +295,7 @@ static void __init nas100d_init(void) | |||
295 | pm_power_off = nas100d_power_off; | 295 | pm_power_off = nas100d_power_off; |
296 | 296 | ||
297 | if (request_irq(gpio_to_irq(NAS100D_RB_GPIO), &nas100d_reset_handler, | 297 | if (request_irq(gpio_to_irq(NAS100D_RB_GPIO), &nas100d_reset_handler, |
298 | IRQF_DISABLED | IRQF_TRIGGER_LOW, | 298 | IRQF_TRIGGER_LOW, "NAS100D reset button", NULL) < 0) { |
299 | "NAS100D reset button", NULL) < 0) { | ||
300 | 299 | ||
301 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 300 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
302 | gpio_to_irq(NAS100D_RB_GPIO)); | 301 | gpio_to_irq(NAS100D_RB_GPIO)); |
diff --git a/arch/arm/mach-ixp4xx/nslu2-setup.c b/arch/arm/mach-ixp4xx/nslu2-setup.c index ba5f1cda2a9d..88c025f52d8d 100644 --- a/arch/arm/mach-ixp4xx/nslu2-setup.c +++ b/arch/arm/mach-ixp4xx/nslu2-setup.c | |||
@@ -265,16 +265,14 @@ static void __init nslu2_init(void) | |||
265 | pm_power_off = nslu2_power_off; | 265 | pm_power_off = nslu2_power_off; |
266 | 266 | ||
267 | if (request_irq(gpio_to_irq(NSLU2_RB_GPIO), &nslu2_reset_handler, | 267 | if (request_irq(gpio_to_irq(NSLU2_RB_GPIO), &nslu2_reset_handler, |
268 | IRQF_DISABLED | IRQF_TRIGGER_LOW, | 268 | IRQF_TRIGGER_LOW, "NSLU2 reset button", NULL) < 0) { |
269 | "NSLU2 reset button", NULL) < 0) { | ||
270 | 269 | ||
271 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 270 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
272 | gpio_to_irq(NSLU2_RB_GPIO)); | 271 | gpio_to_irq(NSLU2_RB_GPIO)); |
273 | } | 272 | } |
274 | 273 | ||
275 | if (request_irq(gpio_to_irq(NSLU2_PB_GPIO), &nslu2_power_handler, | 274 | if (request_irq(gpio_to_irq(NSLU2_PB_GPIO), &nslu2_power_handler, |
276 | IRQF_DISABLED | IRQF_TRIGGER_HIGH, | 275 | IRQF_TRIGGER_HIGH, "NSLU2 power button", NULL) < 0) { |
277 | "NSLU2 power button", NULL) < 0) { | ||
278 | 276 | ||
279 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", | 277 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", |
280 | gpio_to_irq(NSLU2_PB_GPIO)); | 278 | gpio_to_irq(NSLU2_PB_GPIO)); |