Commit b7a2758f authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Herbert Xu

hwrng: n2-drv - fix typo

Fixes: 3e75241b ("hwrng: drivers - Use device-managed registration API")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment