You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user