diff --git a/drivers/mfd/lp873x.c b/drivers/mfd/lp873x.c index 9af064c940eefad45c7daa8d3cc7b97fe79940b9..873c608e6a5dc0054498cae51d15798c1115dc10 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"); diff --git a/include/linux/mfd/lp873x.h b/include/linux/mfd/lp873x.h index 83b1bd7588be5f5de92739b071762748adc87512..edbec8350a49df999a0cfb9e3f7dde02845cedde 100644 --- a/include/linux/mfd/lp873x.h +++ b/include/linux/mfd/lp873x.h @@ -263,7 +263,6 @@ enum lp873x_regulator_id { struct lp873x { struct device *dev; u8 rev; - struct mutex lock; /* lock guarding the data structure */ struct regmap *regmap; }; #endif /* __LINUX_MFD_LP873X_H */