From fe62c477df0c9501dea8c16d78e722c902737a53 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 6 Sep 2016 08:59:55 +0800 Subject: mfd: lp873x: Remove unused mutex lock from struct lp873x The mutex is not used, so remove it. Signed-off-by: Axel Lin Signed-off-by: Lee Jones --- drivers/mfd/lp873x.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/mfd') 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, return ret; } - mutex_init(&lp873->lock); - ret = regmap_read(lp873->regmap, LP873X_REG_OTP_REV, &otpid); if (ret) { dev_err(lp873->dev, "Failed to read OTP ID\n"); -- cgit v1.2.3