projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a66f9
)
hwrng: meson - remove not needed call to platform_set_drvdata
author
Heiner Kallweit
<hkallweit1@gmail.com>
Sat, 18 Feb 2023 20:57:18 +0000
(21:57 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 14 Mar 2023 09:06:42 +0000
(17:06 +0800)
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>
drivers/char/hw_random/meson-rng.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/meson-rng.c
b/drivers/char/hw_random/meson-rng.c
index
22e3dcc
..
a4eb8e3
100644
(file)
--- 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);
}