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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue