diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-21 22:43:40 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 12:46:48 -0500 |
commit | 91d6a9a6c0d98ef6daeaf229e5acada652b4f6f0 (patch) | |
tree | d691c5e8e8dcbc5416a2620705f0eb471b7ec899 /drivers/mfd | |
parent | 485540dce01cf4b4d3629141399678e35e66b711 (diff) |
mfd: Remove unused io_lock mutex from da9052
da9052 has been converted to use regmap API, so we can remove the unused
io_lock mutex.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/da9052-core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c index 5ddde2a9176a..7ff313fe9fb1 100644 --- a/drivers/mfd/da9052-core.c +++ b/drivers/mfd/da9052-core.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/input.h> | 16 | #include <linux/input.h> |
17 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
18 | #include <linux/irq.h> | 18 | #include <linux/irq.h> |
19 | #include <linux/mutex.h> | ||
20 | #include <linux/mfd/core.h> | 19 | #include <linux/mfd/core.h> |
21 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
22 | #include <linux/module.h> | 21 | #include <linux/module.h> |
@@ -647,8 +646,6 @@ int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id) | |||
647 | struct irq_desc *desc; | 646 | struct irq_desc *desc; |
648 | int ret; | 647 | int ret; |
649 | 648 | ||
650 | mutex_init(&da9052->io_lock); | ||
651 | |||
652 | if (pdata && pdata->init != NULL) | 649 | if (pdata && pdata->init != NULL) |
653 | pdata->init(da9052); | 650 | pdata->init(da9052); |
654 | 651 | ||