regulator: wm831x: Pass the IRQF_ONESHOT flag
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 2 Jun 2015 01:33:53 +0000 (22:33 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2015 10:53:59 +0000 (11:53 +0100)
commit29454738f96233466d5bfacf86c7a8d49f79ae27
tree094146c9c94515cf19fde7d9fa6e905bc77df06b
parentb787f68c36d49bb1d9236f403813641efa74a031
regulator: wm831x: Pass the IRQF_ONESHOT flag

Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
threaded IRQs without a primary handler need to be requested with
IRQF_ONESHOT, otherwise the request will fail.

So pass the IRQF_ONESHOT flag in this case.

The semantic patch that makes this change is available
in scripts/coccinelle/misc/irqf_oneshot.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/wm831x-dcdc.c
drivers/regulator/wm831x-isink.c
drivers/regulator/wm831x-ldo.c