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:
Rosen Penev 2024-10-08 13:23:38 -07:00 committed by Robert Marko
parent 0b792954ff
commit 15f5c7e365
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ static int ubnt_ledbar_probe(struct i2c_client *client)
ledbar->client = client;
err = devm_mutex_init(&ofdev->dev, &ledbar->lock);
err = devm_mutex_init(&client->dev, &ledbar->lock);
if (err)
return err;