提交 b7a2758f 编写于 作者: S Stephen Rothwell 提交者: Herbert Xu

hwrng: n2-drv - fix typo

Fixes: 3e75241b ("hwrng: drivers - Use device-managed registration API")
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 155e4db3
......@@ -768,7 +768,7 @@ static int n2rng_probe(struct platform_device *op)
np->hwrng.data_read = n2rng_data_read;
np->hwrng.priv = (unsigned long) np;
err = devm_hwrng_register(&pdev->dev, &np->hwrng);
err = devm_hwrng_register(&op->dev, &np->hwrng);
if (err)
goto out_hvapi_unregister;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册