pcmcia: CodingStyle fixes
Fix most of the remaining CodingStyle issues in drivers/pcmcia , which related to wrong indent -- PCMCIA historically used 4 spaces. Also, remove a custom min() implementation with the generic one. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
f25e188c89
commit
6e83ee075e
|
@ -71,7 +71,7 @@ int __ref cb_alloc(struct pcmcia_socket *s)
|
||||||
unsigned int max, pass;
|
unsigned int max, pass;
|
||||||
|
|
||||||
s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0));
|
s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0));
|
||||||
pci_fixup_cardbus(bus);
|
pci_fixup_cardbus(bus);
|
||||||
|
|
||||||
max = bus->secondary;
|
max = bus->secondary;
|
||||||
for (pass = 0; pass < 2; pass++)
|
for (pass = 0; pass < 2; pass++)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -79,9 +79,8 @@ static resource_size_t pcmcia_align(void *align_data,
|
||||||
|
|
||||||
#ifdef CONFIG_X86
|
#ifdef CONFIG_X86
|
||||||
if (res->flags & IORESOURCE_IO) {
|
if (res->flags & IORESOURCE_IO) {
|
||||||
if (start & 0x300) {
|
if (start & 0x300)
|
||||||
start = (start + 0x3ff) & ~0x3ff;
|
start = (start + 0x3ff) & ~0x3ff;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue