[libata] pata_cmd64x: whitespace cleanup
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
@@ -423,7 +423,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|||||||
.port_ops = &cmd648_port_ops
|
.port_ops = &cmd648_port_ops
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const struct ata_port_info *ppi[] = {
|
const struct ata_port_info *ppi[] = {
|
||||||
&cmd_info[id->driver_data],
|
&cmd_info[id->driver_data],
|
||||||
&cmd_info[id->driver_data],
|
&cmd_info[id->driver_data],
|
||||||
NULL
|
NULL
|
||||||
@@ -478,7 +478,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|||||||
if (port_ok && cntrl_ch0_ok && !(reg & CNTRL_CH0)) {
|
if (port_ok && cntrl_ch0_ok && !(reg & CNTRL_CH0)) {
|
||||||
dev_printk(KERN_NOTICE, &pdev->dev, "Primary port is disabled\n");
|
dev_printk(KERN_NOTICE, &pdev->dev, "Primary port is disabled\n");
|
||||||
ppi[0] = &ata_dummy_port_info;
|
ppi[0] = &ata_dummy_port_info;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (port_ok && !(reg & CNTRL_CH1)) {
|
if (port_ok && !(reg & CNTRL_CH1)) {
|
||||||
dev_printk(KERN_NOTICE, &pdev->dev, "Secondary port is disabled\n");
|
dev_printk(KERN_NOTICE, &pdev->dev, "Secondary port is disabled\n");
|
||||||
|
Reference in New Issue
Block a user