diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-11 11:31:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-14 19:21:00 +0200 |
commit | e0045ebf3be4a7461a42b7f87c1c094ac7e4db78 (patch) | |
tree | 2891cbba888996c28b485b26bfba1f87260695a0 /drivers/spi/spi-dw-pci.c | |
parent | spi: dw-pci: remove unnecessary pci_set_drvdata() (diff) | |
download | linux-e0045ebf3be4a7461a42b7f87c1c094ac7e4db78.tar.xz linux-e0045ebf3be4a7461a42b7f87c1c094ac7e4db78.zip |
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, int pci_bar = 0; int ret; - printk(KERN_INFO "DW: found PCI SPI controller(ID: %04x:%04x)\n", + dev_info(&pdev->dev, "found PCI SPI controller(ID: %04x:%04x)\n", pdev->vendor, pdev->device); ret = pci_enable_device(pdev); |