Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: pata_cs5520: convert printk() calls

Convert printk() calls to structured logging.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

authored by

Hannes Reinecke and committed by
Damien Le Moal
56f7979e 8705cb7f

+2 -2
+2 -2
drivers/ata/pata_cs5520.c
··· 153 153 154 154 /* Perform set up for DMA */ 155 155 if (pci_enable_device_io(pdev)) { 156 - printk(KERN_ERR DRV_NAME ": unable to configure BAR2.\n"); 156 + dev_err(&pdev->dev, "unable to configure BAR2.\n"); 157 157 return -ENODEV; 158 158 } 159 159 160 160 if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32))) { 161 - printk(KERN_ERR DRV_NAME ": unable to configure DMA mask.\n"); 161 + dev_err(&pdev->dev, "unable to configure DMA mask.\n"); 162 162 return -ENODEV; 163 163 } 164 164