From: Mark Brown Date: Mon, 12 Oct 2009 15:15:10 +0000 (+0100) Subject: mfd: Convert WM835x IRQ handling to use a data table X-Git-Tag: v2.6.33-rc1~285^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7229f93a529145d52e1bd7b29e6c98a3a3294d;p=pandora-kernel.git mfd: Convert WM835x IRQ handling to use a data table Rather than open coding individual IRQs in each function which manipulates them store data for IRQs in a table which is then referenced in the users. This is a substantial code shrink and should be a performance win in cases where only a single IRQ goes off at once since instead of reading four of the second level IRQ registers for each interrupt we read only the sub-registers which have had an interrupt flagged. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed