reset: uniphier: fix the first argument passed to dev_err()
priv->dev does not exist. Pass the correct pointer to udevice. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
ab05406e73
commit
def4eadba9
@ -210,7 +210,8 @@ static int uniphier_reset_update(struct reset_ctl *reset_ctl, int assert)
|
||||
return 0;
|
||||
}
|
||||
|
||||
dev_err(priv->dev, "reset_id=%lu was not handled\n", id);
|
||||
dev_err(reset_ctl->dev, "reset_id=%lu was not handled\n", id);
|
||||
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user