diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 11:12:31 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-27 00:09:48 +0100 |
commit | d740f4523bb4aea24bece704c726c69094e20d00 (patch) | |
tree | b26bfc2a92c53cf6cf115bf9bf99bc7a51d11983 /tools | |
parent | 9d8fd10aa5843e018d456644fc1a58896d8eeaf5 (diff) | |
download | linux-3.10-d740f4523bb4aea24bece704c726c69094e20d00.tar.gz linux-3.10-d740f4523bb4aea24bece704c726c69094e20d00.tar.bz2 linux-3.10-d740f4523bb4aea24bece704c726c69094e20d00.zip |
mfd: twl4030: Cleanup interrupt handling
irq_desc checking in a function which is called with that irq
descriptor locked, is pointless. Equally pointless as the irq desc
check in the interrupt service routine. The driver sets those lines
up, so that cant go away magically.
Remove the open coded handler magic and use the proper accessor.
No need to fiddle with irq_desc in the type setting function. The
original value is in irq_data and the core code stores the new setting
when the return value is 0.
This driver needs to be converted to threaded interrupts and buslock.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions