From: Thomas Gleixner Date: Fri, 25 Mar 2011 11:12:29 +0000 (+0000) Subject: mfd: htc-i2cpld: Cleanup interrupt handling X-Git-Tag: v2.6.39-rc1~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eaee99e5a9cedcc4acb3b5507c0878352222bce;p=pandora-kernel.git mfd: htc-i2cpld: Cleanup interrupt handling Remove the pointless irq_desc check in set_type. This function is called with that irq descriptor locked. Also remove the write back of the flow type as the core code does this already when the return value is 0. Also store the flow type in the chip data structure, so there is no need to fiddle in the irq descriptor. Signed-off-by: Thomas Gleixner Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed