diff options
author | Joe Perches <joe@perches.com> | 2012-10-28 04:05:40 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-11-28 12:40:15 -0500 |
commit | a52f514c911978dee418f19d1d0103e3bc25fa62 (patch) | |
tree | c3198b90be03bfc7ce1c12378f15981f7e89893c /drivers/ata | |
parent | 52bd4978c61bc23e619a4287a3d30814c97b5d4e (diff) |
ata: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
dev_<level> calls take less code than dev_printk(KERN_<LEVEL>
and reducing object size is good.
Coalesce formats for easier grep.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_cmd64x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index 7ba01415b676..2949cfc2dd31 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c | |||
@@ -474,14 +474,14 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
474 | /* check for enabled ports */ | 474 | /* check for enabled ports */ |
475 | pci_read_config_byte(pdev, CNTRL, ®); | 475 | pci_read_config_byte(pdev, CNTRL, ®); |
476 | if (!port_ok) | 476 | if (!port_ok) |
477 | dev_printk(KERN_NOTICE, &pdev->dev, "Mobility Bridge detected, ignoring CNTRL port enable/disable\n"); | 477 | dev_notice(&pdev->dev, "Mobility Bridge detected, ignoring CNTRL port enable/disable\n"); |
478 | if (port_ok && cntrl_ch0_ok && !(reg & CNTRL_CH0)) { | 478 | if (port_ok && cntrl_ch0_ok && !(reg & CNTRL_CH0)) { |
479 | dev_printk(KERN_NOTICE, &pdev->dev, "Primary port is disabled\n"); | 479 | dev_notice(&pdev->dev, "Primary port is disabled\n"); |
480 | ppi[0] = &ata_dummy_port_info; | 480 | ppi[0] = &ata_dummy_port_info; |
481 | 481 | ||
482 | } | 482 | } |
483 | if (port_ok && !(reg & CNTRL_CH1)) { | 483 | if (port_ok && !(reg & CNTRL_CH1)) { |
484 | dev_printk(KERN_NOTICE, &pdev->dev, "Secondary port is disabled\n"); | 484 | dev_notice(&pdev->dev, "Secondary port is disabled\n"); |
485 | ppi[1] = &ata_dummy_port_info; | 485 | ppi[1] = &ata_dummy_port_info; |
486 | } | 486 | } |
487 | 487 | ||