diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-17 11:26:18 +0000 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2018-02-14 15:41:31 +0100 |
commit | 073f698dbe6bb37b226c22ac8dc69d567a08f4cb (patch) | |
tree | e0e261a1bae5147f51e44dd50d2cd88b3678644e /drivers/clk/samsung | |
parent | a3834c76a24c379347ea7ee316a9154178f98f4d (diff) | |
download | linux-073f698dbe6bb37b226c22ac8dc69d567a08f4cb.tar.bz2 |
clk: samsung: Remove redundant dev_err call in exynos_audss_clk_probe()
There is a error message within devm_ioremap_resource already,
so remove the dev_err call to avoid redundant error message.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung')
-rw-r--r-- | drivers/clk/samsung/clk-exynos-audss.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/samsung/clk-exynos-audss.c b/drivers/clk/samsung/clk-exynos-audss.c index 5bfc92ee3129..b4b057c7301c 100644 --- a/drivers/clk/samsung/clk-exynos-audss.c +++ b/drivers/clk/samsung/clk-exynos-audss.c @@ -143,10 +143,8 @@ static int exynos_audss_clk_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); reg_base = devm_ioremap_resource(dev, res); - if (IS_ERR(reg_base)) { - dev_err(dev, "failed to map audss registers\n"); + if (IS_ERR(reg_base)) return PTR_ERR(reg_base); - } epll = ERR_PTR(-ENODEV); |