diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-02-18 21:55:32 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-14 17:06:42 +0800 |
commit | b521d0a183f76b1b8f9b0238605c6a2780d299bc (patch) | |
tree | 46034576f5b97ae9c0d8cbc07bda25449ba1b4a7 | |
parent | 0bedc99203724900b1d05df69e24bdbb1d3e6545 (diff) | |
download | linux-stable-b521d0a183f76b1b8f9b0238605c6a2780d299bc.tar.gz linux-stable-b521d0a183f76b1b8f9b0238605c6a2780d299bc.tar.bz2 linux-stable-b521d0a183f76b1b8f9b0238605c6a2780d299bc.zip |
hwrng: meson - remove unused member of struct meson_rng_data
Member pdev isn't used, remove it.
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>
-rw-r--r-- | drivers/char/hw_random/meson-rng.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |