aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorHeiner Kallweit2023-02-18 21:57:18 +0100
committerHerbert Xu2023-03-14 17:06:42 +0800
commitc6ffae6e0c43452b5eeb7945dc7da75ee6249f13 (patch)
tree34a504ec4a973863021b7749b8d8a1292e900e3c /drivers/char
parent55a66f91b20b59dfd5aae3ede130ac8a1dacae75 (diff)
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/meson-rng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/meson-rng.c b/drivers/char/hw_random/meson-rng.c
index 22e3dcc6f650..a4eb8e35f13d 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);
}