projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cce62f
)
spi: dw-pci: Use dev_info() instead of printk()
author
Jingoo Han
<jg1.han@samsung.com>
Fri, 11 Oct 2013 09:31:41 +0000
(18:31 +0900)
committer
Mark Brown
<broonie@linaro.org>
Mon, 14 Oct 2013 17:21:00 +0000
(18:21 +0100)
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>
drivers/spi/spi-dw-pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-dw-pci.c
b/drivers/spi/spi-dw-pci.c
index 6a708620816aae9be806b1e68e297e1386bc927a..66fa9955ea148e5c10c3cfda9b3b90da65902ef0 100644
(file)
--- 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);