diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 14:12:31 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-27 03:09:48 +0400 |
commit | d740f4523bb4aea24bece704c726c69094e20d00 (patch) | |
tree | b26bfc2a92c53cf6cf115bf9bf99bc7a51d11983 /drivers/watchdog/w83697ug_wdt.c | |
parent | 9d8fd10aa5843e018d456644fc1a58896d8eeaf5 (diff) | |
download | linux-d740f4523bb4aea24bece704c726c69094e20d00.tar.xz |
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 'drivers/watchdog/w83697ug_wdt.c')
0 files changed, 0 insertions, 0 deletions