Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c067509 authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

spi: pl022: Use dev_info() instead of printk()



Change raw printk() call to dev_info() to provide a better message
to userspace so it can properly identify the device.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 4ebfee91
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2173,7 +2173,7 @@ static int pl022_probe(struct amba_device *adev, const struct amba_id *id)
		status = -ENOMEM;
		goto err_no_ioremap;
	}
	printk(KERN_INFO "pl022: mapped registers from %pa to %p\n",
	dev_info(&adev->dev, "mapped registers from %pa to %p\n",
		&adev->res.start, pl022->virtbase);

	pl022->clk = devm_clk_get(&adev->dev, NULL);