diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-11 05:31:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-14 13:21:00 -0400 |
commit | e0045ebf3be4a7461a42b7f87c1c094ac7e4db78 (patch) | |
tree | 2891cbba888996c28b485b26bfba1f87260695a0 /drivers/spi/spi-dw-pci.c | |
parent | 7cce62f3aa956a4ce170e53c98cc195b74aba4b4 (diff) |
spi: dw-pci: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-dw-pci.c')
-rw-r--r-- | drivers/spi/spi-dw-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw-pci.c b/drivers/spi/spi-dw-pci.c index 6a708620816a..66fa9955ea14 100644 --- a/drivers/spi/spi-dw-pci.c +++ b/drivers/spi/spi-dw-pci.c | |||
@@ -40,7 +40,7 @@ static int spi_pci_probe(struct pci_dev *pdev, | |||
40 | int pci_bar = 0; | 40 | int pci_bar = 0; |
41 | int ret; | 41 | int ret; |
42 | 42 | ||
43 | printk(KERN_INFO "DW: found PCI SPI controller(ID: %04x:%04x)\n", | 43 | dev_info(&pdev->dev, "found PCI SPI controller(ID: %04x:%04x)\n", |
44 | pdev->vendor, pdev->device); | 44 | pdev->vendor, pdev->device); |
45 | 45 | ||
46 | ret = pci_enable_device(pdev); | 46 | ret = pci_enable_device(pdev); |