From: Heiner Kallweit Date: Sat, 18 Feb 2023 20:55:32 +0000 (+0100) Subject: hwrng: meson - remove unused member of struct meson_rng_data X-Git-Tag: v6.6.17~4781^2~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b521d0a183f76b1b8f9b0238605c6a2780d299bc;p=platform%2Fkernel%2Flinux-rpi.git hwrng: meson - remove unused member of struct meson_rng_data Member pdev isn't used, remove it. Signed-off-by: Heiner Kallweit Reviewed-by: Martin Blumenstingl Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/meson-rng.c b/drivers/char/hw_random/meson-rng.c index 8bb30282ca46..e79069b6d050 100644 --- a/drivers/char/hw_random/meson-rng.c +++ b/drivers/char/hw_random/meson-rng.c @@ -18,7 +18,6 @@ struct meson_rng_data { void __iomem *base; - struct platform_device *pdev; struct hwrng rng; struct clk *core_clk; }; @@ -48,8 +47,6 @@ static int meson_rng_probe(struct platform_device *pdev) if (!data) return -ENOMEM; - data->pdev = pdev; - data->base = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(data->base)) return PTR_ERR(data->base);