aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/event/exynos-nocp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/devfreq/event/exynos-nocp.c')
-rw-r--r--drivers/devfreq/event/exynos-nocp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/devfreq/event/exynos-nocp.c b/drivers/devfreq/event/exynos-nocp.c
index 6b6a5f310486..a5841403bde8 100644
--- a/drivers/devfreq/event/exynos-nocp.c
+++ b/drivers/devfreq/event/exynos-nocp.c
@@ -220,9 +220,6 @@ static int exynos_nocp_parse_dt(struct platform_device *pdev,
/* Maps the memory mapped IO to control nocp register */
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- if (IS_ERR(res))
- return PTR_ERR(res);
-
base = devm_ioremap_resource(dev, res);
if (IS_ERR(base))
return PTR_ERR(base);