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: 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>
This commit is contained in:
Yu Jiahua 2021-06-15 19:48:26 -08:00 committed by Stephen Boyd
parent 87e2a58ca6
commit 9ba98c08dc
1 changed files with 1 additions and 4 deletions

View File

@ -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)