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

ata: pata_serverworks: 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
f9bcf5ba 71306ae2

+2 -2
+2 -2
drivers/ata/pata_serverworks.c
··· 286 286 pci_read_config_dword(isa_dev, 0x64, &reg); 287 287 reg &= ~0x00002000; /* disable 600ns interrupt mask */ 288 288 if (!(reg & 0x00004000)) 289 - printk(KERN_DEBUG DRV_NAME ": UDMA not BIOS enabled.\n"); 289 + dev_info(&pdev->dev, "UDMA not BIOS enabled.\n"); 290 290 reg |= 0x00004000; /* enable UDMA/33 support */ 291 291 pci_write_config_dword(isa_dev, 0x64, reg); 292 292 pci_dev_put(isa_dev); 293 293 return 0; 294 294 } 295 - printk(KERN_WARNING DRV_NAME ": Unable to find bridge.\n"); 295 + dev_warn(&pdev->dev, "Unable to find bridge.\n"); 296 296 return -ENODEV; 297 297 } 298 298