summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pl022.c
diff options
context:
space:
mode:
authorMark Brown2013-10-25 10:51:35 +0200
committerMark Brown2013-10-25 10:51:35 +0200
commit7e0ae74090a46663b0a650e9e70aea74cc737cf2 (patch)
tree1d11eae0f498e9a9e9a5760c1dcbf0edbc54a8cc /drivers/spi/spi-pl022.c
parentMerge remote-tracking branch 'spi/topic/orion' into spi-next (diff)
parentspi: pl022: Use dev_info() instead of printk() (diff)
downloadkernel-qcow2-linux-7e0ae74090a46663b0a650e9e70aea74cc737cf2.tar.gz
kernel-qcow2-linux-7e0ae74090a46663b0a650e9e70aea74cc737cf2.tar.xz
kernel-qcow2-linux-7e0ae74090a46663b0a650e9e70aea74cc737cf2.zip
Merge remote-tracking branch 'spi/topic/pl022' into spi-next
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r--drivers/spi/spi-pl022.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 5e3011094eb6..2789b452e711 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)
status = -ENOMEM;
goto err_no_ioremap;
}
- printk(KERN_INFO "pl022: mapped registers from %pa to %p\n",
- &adev->res.start, pl022->virtbase);
+ dev_info(&adev->dev, "mapped registers from %pa to %p\n",
+ &adev->res.start, pl022->virtbase);
pl022->clk = devm_clk_get(&adev->dev, NULL);
if (IS_ERR(pl022->clk)) {