Commit a7cc37a49876319b2f848290eefe3388dd82286b

Authored by Axel Lin
Committed by Samuel Ortiz
1 parent 8517690f31

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>

Showing 2 changed files with 0 additions and 3 deletions Side-by-side Diff

drivers/mfd/max77693.c
... ... @@ -138,8 +138,6 @@
138 138  
139 139 max77693->wakeup = pdata->wakeup;
140 140  
141   - mutex_init(&max77693->iolock);
142   -
143 141 if (max77693_read_reg(max77693->regmap,
144 142 MAX77693_PMIC_REG_PMIC_ID2, &reg_data) < 0) {
145 143 dev_err(max77693->dev, "device not found on this channel\n");
include/linux/mfd/max77693-private.h
... ... @@ -190,7 +190,6 @@
190 190 struct i2c_client *i2c; /* 0xCC , PMIC, Charger, Flash LED */
191 191 struct i2c_client *muic; /* 0x4A , MUIC */
192 192 struct i2c_client *haptic; /* 0x90 , Haptic */
193   - struct mutex iolock;
194 193  
195 194 int type;
196 195