libata: trim trailing whitespace.
Also, fixup a tabs-to-spaces block of code in ata_piix.
This commit is contained in:
@@ -629,13 +629,13 @@ static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||||||
port_info[1] = NULL;
|
port_info[1] = NULL;
|
||||||
|
|
||||||
if (port_info[0]->host_flags & PIIX_FLAG_AHCI) {
|
if (port_info[0]->host_flags & PIIX_FLAG_AHCI) {
|
||||||
u8 tmp;
|
u8 tmp;
|
||||||
pci_read_config_byte(pdev, PIIX_SCC, &tmp);
|
pci_read_config_byte(pdev, PIIX_SCC, &tmp);
|
||||||
if (tmp == PIIX_AHCI_DEVICE) {
|
if (tmp == PIIX_AHCI_DEVICE) {
|
||||||
int rc = piix_disable_ahci(pdev);
|
int rc = piix_disable_ahci(pdev);
|
||||||
if (rc)
|
if (rc)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (port_info[0]->host_flags & PIIX_FLAG_COMBINED) {
|
if (port_info[0]->host_flags & PIIX_FLAG_COMBINED) {
|
||||||
|
Reference in New Issue
Block a user