From: Sascha Hauer Date: Thu, 2 Jun 2011 18:18:54 +0000 (+0100) Subject: mfd: Allocate wm835x irq descs dynamically X-Git-Tag: v3.1-rc1~100^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1738aef387ab9591a6d13b00945e248b942c53f;p=pandora-kernel.git 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 Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed