diff options
-rw-r--r-- | drivers/mfd/da9052-core.c | 3 | ||||
-rw-r--r-- | include/linux/mfd/da9052/da9052.h | 2 |
2 files changed, 0 insertions, 5 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 | ||
diff --git a/include/linux/mfd/da9052/da9052.h b/include/linux/mfd/da9052/da9052.h index 5702d1be13b4..7ffbd6e9e7fc 100644 --- a/include/linux/mfd/da9052/da9052.h +++ b/include/linux/mfd/da9052/da9052.h | |||
@@ -76,8 +76,6 @@ enum da9052_chip_id { | |||
76 | struct da9052_pdata; | 76 | struct da9052_pdata; |
77 | 77 | ||
78 | struct da9052 { | 78 | struct da9052 { |
79 | struct mutex io_lock; | ||
80 | |||
81 | struct device *dev; | 79 | struct device *dev; |
82 | struct regmap *regmap; | 80 | struct regmap *regmap; |
83 | 81 | ||