hwrng: meson - remove not needed call to platform_set_drvdata
drvdata isn't used, therefore remove this call. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
55a66f91b2
commit
c6ffae6e0c
|
@ -53,8 +53,6 @@ static int meson_rng_probe(struct platform_device *pdev)
|
|||
data->rng.name = pdev->name;
|
||||
data->rng.read = meson_rng_read;
|
||||
|
||||
platform_set_drvdata(pdev, data);
|
||||
|
||||
return devm_hwrng_register(dev, &data->rng);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue