projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e2a58
)
drivers: ti: remove redundant error message in adpll.c
author
Yu Jiahua
<yujiahua1@huawei.com>
Wed, 16 Jun 2021 03:48:26 +0000
(19:48 -0800)
committer
Stephen Boyd
<sboyd@kernel.org>
Mon, 28 Jun 2021 02:56:45 +0000
(19:56 -0700)
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Yu Jiahua <yujiahua1@huawei.com>
Link:
https://lore.kernel.org/r/20210616034826.37276-1-yujiahua1@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/adpll.c
patch
|
blob
|
history
diff --git
a/drivers/clk/ti/adpll.c
b/drivers/clk/ti/adpll.c
index
bb2f283
..
b341cd9
100644
(file)
--- a/
drivers/clk/ti/adpll.c
+++ b/
drivers/clk/ti/adpll.c
@@
-896,11
+896,8
@@
static int ti_adpll_probe(struct platform_device *pdev)
d->pa = res->start;
d->iobase = devm_ioremap_resource(dev, res);
- if (IS_ERR(d->iobase)) {
- dev_err(dev, "could not get IO base: %li\n",
- PTR_ERR(d->iobase));
+ if (IS_ERR(d->iobase))
return PTR_ERR(d->iobase);
- }
err = ti_adpll_init_registers(d);
if (err)