From: Peter Ujfalusi Date: Wed, 16 May 2012 11:11:56 +0000 (+0300) Subject: mfd: Allocate twl6040 IRQ numbers dynamically X-Git-Tag: v3.5-rc1~51^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6712419d697851c4472cdfd2111c844d777472e8;p=pandora-kernel.git mfd: Allocate twl6040 IRQ numbers dynamically Use irq_alloc_descs() to get the IRQ number range dynamically instead of the hardwired use if pdata->irq_base. The twl6040 only provides interrupts for it's internal components which means that it is not working as an IRQ expander type of device. The client drivers will receive their interrupt numbers as resource which is configured based on the received IRQ range we got from irq_alloc_descs() Signed-off-by: Peter Ujfalusi Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed