ubnt-ledbar: fix compilation error
Wrong variable name from copy/paste. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16640 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
0b792954ff
commit
15f5c7e365
|
@ -185,7 +185,7 @@ static int ubnt_ledbar_probe(struct i2c_client *client)
|
||||||
|
|
||||||
ledbar->client = client;
|
ledbar->client = client;
|
||||||
|
|
||||||
err = devm_mutex_init(&ofdev->dev, &ledbar->lock);
|
err = devm_mutex_init(&client->dev, &ledbar->lock);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue