mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
ata: pata_cs5536: 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>
This commit is contained in:
parent
56f7979e77
commit
0d43bff519
|
@ -263,12 +263,12 @@ static int cs5536_init_one(struct pci_dev *dev, const struct pci_device_id *id)
|
|||
ppi[1] = &ata_dummy_port_info;
|
||||
|
||||
if (use_msr)
|
||||
printk(KERN_ERR DRV_NAME ": Using MSR regs instead of PCI\n");
|
||||
dev_err(&dev->dev, DRV_NAME ": Using MSR regs instead of PCI\n");
|
||||
|
||||
cs5536_read(dev, CFG, &cfg);
|
||||
|
||||
if ((cfg & IDE_CFG_CHANEN) == 0) {
|
||||
printk(KERN_ERR DRV_NAME ": disabled by BIOS\n");
|
||||
dev_err(&dev->dev, DRV_NAME ": disabled by BIOS\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue