Skip to content

Commit 9ba98c0

Browse files
Yu Jiahuabebarino
authored andcommitted
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>
1 parent 87e2a58 commit 9ba98c0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

drivers/clk/ti/adpll.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -896,11 +896,8 @@ static int ti_adpll_probe(struct platform_device *pdev)
896896
d->pa = res->start;
897897

898898
d->iobase = devm_ioremap_resource(dev, res);
899-
if (IS_ERR(d->iobase)) {
900-
dev_err(dev, "could not get IO base: %li\n",
901-
PTR_ERR(d->iobase));
899+
if (IS_ERR(d->iobase))
902900
return PTR_ERR(d->iobase);
903-
}
904901

905902
err = ti_adpll_init_registers(d);
906903
if (err)

0 commit comments

Comments
 (0)