diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2013-08-05 16:47:20 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-09 08:39:47 +0200 |
commit | 7256c476f79d2b50a32cecb0330362afd2fa0b50 (patch) | |
tree | 3489e42911a69bb4376ebd12c297fb41611dbd35 /drivers/char/hw_random | |
parent | hwrng: omap - Convert to devm_kzalloc() (diff) | |
download | linux-7256c476f79d2b50a32cecb0330362afd2fa0b50.tar.xz linux-7256c476f79d2b50a32cecb0330362afd2fa0b50.zip |
hwrng: omap - Remove duplicated function call
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>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r-- | drivers/char/hw_random/omap-rng.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index 9c19396b940f..5a2ab3b3cd78 100644 --- 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); |