aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-09-05 20:59:55 -0400
committerLee Jones <lee.jones@linaro.org>2016-10-04 10:48:04 -0400
commitfe62c477df0c9501dea8c16d78e722c902737a53 (patch)
treea7f334c74fa88946b8dca51252d3a29f29b4f5e9 /drivers/mfd
parent2c2469bc03d569c49119db2cccb5cb3f0c6a5b33 (diff)
mfd: lp873x: Remove unused mutex lock from struct lp873x
The mutex is not used, so remove it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/lp873x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/lp873x.c b/drivers/mfd/lp873x.c
index 9af064c940ee..873c608e6a5d 100644
--- a/drivers/mfd/lp873x.c
+++ b/drivers/mfd/lp873x.c
@@ -53,8 +53,6 @@ static int lp873x_probe(struct i2c_client *client,
53 return ret; 53 return ret;
54 } 54 }
55 55
56 mutex_init(&lp873->lock);
57
58 ret = regmap_read(lp873->regmap, LP873X_REG_OTP_REV, &otpid); 56 ret = regmap_read(lp873->regmap, LP873X_REG_OTP_REV, &otpid);
59 if (ret) { 57 if (ret) {
60 dev_err(lp873->dev, "Failed to read OTP ID\n"); 58 dev_err(lp873->dev, "Failed to read OTP ID\n");