diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-11 05:29:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-14 13:20:10 -0400 |
commit | 2c067509a1e3540613ef597c5dc6bd1f47d539cb (patch) | |
tree | c13bc1890471b4a34cb54912681e11fd7cf62e5d /drivers/spi/spi-pl022.c | |
parent | 4ebfee9118599dece86429270be1bcbb3099f237 (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r-- | drivers/spi/spi-pl022.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index c13d523f1f48..6e77c938a6ae 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c | |||
@@ -2173,8 +2173,8 @@ static int pl022_probe(struct amba_device *adev, const struct amba_id *id) | |||
2173 | status = -ENOMEM; | 2173 | status = -ENOMEM; |
2174 | goto err_no_ioremap; | 2174 | goto err_no_ioremap; |
2175 | } | 2175 | } |
2176 | printk(KERN_INFO "pl022: mapped registers from %pa to %p\n", | 2176 | dev_info(&adev->dev, "mapped registers from %pa to %p\n", |
2177 | &adev->res.start, pl022->virtbase); | 2177 | &adev->res.start, pl022->virtbase); |
2178 | 2178 | ||
2179 | pl022->clk = devm_clk_get(&adev->dev, NULL); | 2179 | pl022->clk = devm_clk_get(&adev->dev, NULL); |
2180 | if (IS_ERR(pl022->clk)) { | 2180 | if (IS_ERR(pl022->clk)) { |