aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/ab3100.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-01-08 10:44:16 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-07 22:17:00 +0100
commit0df883df8e8aea79b501f6262b595e66dec175dc (patch)
tree4b63d615304b2c7c00f2ca3433b83cb9d28d6bfc /include/linux/mfd/ab3100.h
parentgpiolib: Add support for WM8350 GPIO controller (diff)
downloadlinux-dev-0df883df8e8aea79b501f6262b595e66dec175dc.tar.xz
linux-dev-0df883df8e8aea79b501f6262b595e66dec175dc.zip
mfd: Convert AB3100 driver to threaded IRQ
This converts the AB3100 core MFD driver to use a threaded interrupt handler instead of the explicit top/bottom-half construction with a workqueue. This saves some code and make it more similar to other modern MFD drivers. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/ab3100.h')
-rw-r--r--include/linux/mfd/ab3100.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/ab3100.h b/include/linux/mfd/ab3100.h
index e9aa4c9d749d..9a881c305a50 100644
--- a/include/linux/mfd/ab3100.h
+++ b/include/linux/mfd/ab3100.h
@@ -6,7 +6,6 @@
*/
#include <linux/device.h>
-#include <linux/workqueue.h>
#include <linux/regulator/machine.h>
#ifndef MFD_AB3100_H
@@ -74,7 +73,6 @@
* @testreg_client: secondary client for test registers
* @chip_name: name of this chip variant
* @chip_id: 8 bit chip ID for this chip variant
- * @work: an event handling worker
* @event_subscribers: event subscribers are listed here
* @startup_events: a copy of the first reading of the event registers
* @startup_events_read: whether the first events have been read
@@ -90,7 +88,6 @@ struct ab3100 {
struct i2c_client *testreg_client;
char chip_name[32];
u8 chip_id;
- struct work_struct work;
struct blocking_notifier_head event_subscribers;
u32 startup_events;
bool startup_events_read;