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

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.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 87e2a58c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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)