Message ID | 7d1fc713-850d-d9cd-3fe2-60fd690f406a@gmail.com |
---|---|
State | Accepted |
Commit | c6ffae6e0c43452b5eeb7945dc7da75ee6249f13 |
Headers | show |
Series | hwrng: meson: simplify driver | expand |
diff --git a/drivers/char/hw_random/meson-rng.c b/drivers/char/hw_random/meson-rng.c index 22e3dcc6f..a4eb8e35f 100644 --- a/drivers/char/hw_random/meson-rng.c +++ b/drivers/char/hw_random/meson-rng.c @@ -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); }
drvdata isn't used, therefore remove this call. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- drivers/char/hw_random/meson-rng.c | 2 -- 1 file changed, 2 deletions(-)