mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
libata: trim trailing whitespace.
Also, fixup a tabs-to-spaces block of code in ata_piix.
This commit is contained in:
parent
541134cfe7
commit
8a60a07129
12 changed files with 92 additions and 92 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue