commit | 9eaee99e5a9cedcc4acb3b5507c0878352222bce | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Fri Mar 25 11:12:29 2011 +0000 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun Mar 27 00:09:46 2011 +0100 |
tree | 365f832c427f18afb55c4c5d12e07f118da65d1d | |
parent | 77eda96691f5e39973f2f2667a28e57e852f559d [diff] |
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 <tglx@linutronix.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>