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 /drivers/gpio/vx855_gpio.c | |
parent | 9d8fd10aa5843e018d456644fc1a58896d8eeaf5 (diff) | |
download | op-kernel-dev-d740f4523bb4aea24bece704c726c69094e20d00.zip op-kernel-dev-d740f4523bb4aea24bece704c726c69094e20d00.tar.gz |
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/gpio/vx855_gpio.c')
0 files changed, 0 insertions, 0 deletions