Commit 9ba98c08 authored by Yu Jiahua's avatar Yu Jiahua Committed by Stephen Boyd

drivers: ti: remove redundant error message in adpll.c

There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: default avatarYu Jiahua <yujiahua1@huawei.com>
Link: https://lore.kernel.org/r/20210616034826.37276-1-yujiahua1@huawei.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 87e2a58c
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment