Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0045ebf authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 7cce62f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);