summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/mxc-rnga.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-27 10:42:53 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-27 10:42:53 +0900
commit4993632218e2202d4f110c8e83ae819ca26e6845 (patch)
tree0872195b8c09b03d54adaaaf4304d1285091b031 /drivers/char/hw_random/mxc-rnga.c
parent1c4e2d70afb132058bfe979f6854c1d0a732b556 (diff)
parente4aa937ec75df0eea0bee03bffa3303ad36c986b (diff)
downloadlinux-4993632218e2202d4f110c8e83ae819ca26e6845.tar.gz
linux-4993632218e2202d4f110c8e83ae819ca26e6845.tar.bz2
linux-4993632218e2202d4f110c8e83ae819ca26e6845.zip
Merge 3.10-rc3 into driver-core-next
We want the changes here. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/hw_random/mxc-rnga.c')
-rw-r--r--drivers/char/hw_random/mxc-rnga.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/hw_random/mxc-rnga.c b/drivers/char/hw_random/mxc-rnga.c
index 4ca35e8a5d8c..19a12ac64a9e 100644
--- a/drivers/char/hw_random/mxc-rnga.c
+++ b/drivers/char/hw_random/mxc-rnga.c
@@ -167,11 +167,6 @@ static int __init mxc_rnga_probe(struct platform_device *pdev)
clk_prepare_enable(mxc_rng->clk);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- if (!res) {
- err = -ENOENT;
- goto err_region;
- }
-
mxc_rng->mem = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(mxc_rng->mem)) {
err = PTR_ERR(mxc_rng->mem);
@@ -189,7 +184,6 @@ static int __init mxc_rnga_probe(struct platform_device *pdev)
return 0;
err_ioremap:
-err_region:
clk_disable_unprepare(mxc_rng->clk);
out: