Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7256c476 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Herbert Xu
Browse files

hwrng: omap - Remove duplicated function call



platform_set_drvdata() is called twice in driver probe.
Removing the duplicated call.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d52dc81e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);