summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-auxadc.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-06-02 19:18:54 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-31 23:28:20 +0200
commitd1738aef387ab9591a6d13b00945e248b942c53f (patch)
tree3841b65f9c2808874f7954ce1e2c4035904bc4fd /drivers/mfd/wm831x-auxadc.c
parente69b6de181167a132eee7c38c7e4b47dea3d8e49 (diff)
downloadlinux-stable-d1738aef387ab9591a6d13b00945e248b942c53f.tar.gz
linux-stable-d1738aef387ab9591a6d13b00945e248b942c53f.tar.bz2
linux-stable-d1738aef387ab9591a6d13b00945e248b942c53f.zip
mfd: Allocate wm835x irq descs dynamically
This allows boards to leave the irq_base field unitialized and prevents them having to reserve irqs in the platform. pdata can be optional for irq support now. Without pdata the driver allocates some free irq range. With pdata and irq_base > 0 the driver allocates exactly the specified irq. Without pdata the irq defaults to IRQF_TRIGGER_LOW. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm831x-auxadc.c')
0 files changed, 0 insertions, 0 deletions