summaryrefslogtreecommitdiff
path: root/drivers/mfd/max77686.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-07-06 15:32:20 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:14 +0200
commitb8748096111b483de8a544cc220510dff17bbff9 (patch)
treeaf190720dc710adc899bd3804891fd462363ff2c /drivers/mfd/max77686.c
parent2573f6d36e73e080fc1d9d9ac7dfaf2253a61434 (diff)
mfd: Remove unused max77686 iolock mutex
Now this driver is using regmap API, the iolock mutex is not used and can be removed. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/max77686.c')
-rw-r--r--drivers/mfd/max77686.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c
index 11e56017e0b0..9e7e1d30f25f 100644
--- a/drivers/mfd/max77686.c
+++ b/drivers/mfd/max77686.c
@@ -27,7 +27,6 @@
#include <linux/i2c.h>
#include <linux/pm_runtime.h>
#include <linux/module.h>
-#include <linux/mutex.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max77686.h>
#include <linux/mfd/max77686-private.h>
@@ -79,8 +78,6 @@ static int max77686_i2c_probe(struct i2c_client *i2c,
max77686->wakeup = pdata->wakeup;
max77686->irq_gpio = pdata->irq_gpio;
- mutex_init(&max77686->iolock);
-
if (regmap_read(max77686->regmap,
MAX77686_REG_DEVICE_ID, &data) < 0) {
dev_err(max77686->dev,