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: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
Showing
想要评论请 注册 或 登录