aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max77693.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-05-24 04:57:46 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-08 18:16:07 -0400
commita7cc37a49876319b2f848290eefe3388dd82286b (patch)
tree507517cbf6e34ae0ae41feea8e4766f4c7a77d20 /drivers/mfd/max77693.c
parent8517690f31a5d36cf1a55099cfb0bc1d96d0e6f2 (diff)
mfd: Remove unused max77693 iolock mutex
Now this driver is using regmap APIs, 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/max77693.c')
-rw-r--r--drivers/mfd/max77693.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index e9e4278722f3..4055bc2d36fb 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -138,8 +138,6 @@ static int max77693_i2c_probe(struct i2c_client *i2c,
138 138
139 max77693->wakeup = pdata->wakeup; 139 max77693->wakeup = pdata->wakeup;
140 140
141 mutex_init(&max77693->iolock);
142
143 if (max77693_read_reg(max77693->regmap, 141 if (max77693_read_reg(max77693->regmap,
144 MAX77693_PMIC_REG_PMIC_ID2, &reg_data) < 0) { 142 MAX77693_PMIC_REG_PMIC_ID2, &reg_data) < 0) {
145 dev_err(max77693->dev, "device not found on this channel\n"); 143 dev_err(max77693->dev, "device not found on this channel\n");