projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52dc81
)
hwrng: omap - Remove duplicated function call
author
Lokesh Vutla
<lokeshvutla@ti.com>
Mon, 5 Aug 2013 14:47:20 +0000
(20:17 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 9 Aug 2013 06:39:47 +0000
(16:39 +1000)
platform_set_drvdata() is called twice in driver probe.
Removing the duplicated call.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap-rng.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hw_random/omap-rng.c
b/drivers/char/hw_random/omap-rng.c
index 9c19396b940f66f87ce71bc5e5ab07d11572626c..5a2ab3b3cd7859575ea49af7799eded41bef4f13 100644
(file)
--- a/
drivers/char/hw_random/omap-rng.c
+++ b/
drivers/char/hw_random/omap-rng.c
@@
-125,7
+125,6
@@
static int omap_rng_probe(struct platform_device *pdev)
ret = PTR_ERR(priv->base);
goto err_ioremap;
}
- platform_set_drvdata(pdev, priv);
pm_runtime_enable(&pdev->dev);
pm_runtime_get_sync(&pdev->dev);