瀏覽代碼

ARM: arch/arm/mach-footbridge/ebsa285-pci.c: Checkpatch cleanup

arch/arm/mach-footbridge/ebsa285-pci.c:22: ERROR: switch and case should be at the same indent

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Andrea Gelmini 15 年之前
父節點
當前提交
49b95e2826
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      arch/arm/mach-footbridge/ebsa285-pci.c

+ 3 - 3
arch/arm/mach-footbridge/ebsa285-pci.c

@@ -20,9 +20,9 @@ static int __init ebsa285_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 	if (dev->vendor == PCI_VENDOR_ID_CONTAQ &&
 	    dev->device == PCI_DEVICE_ID_CONTAQ_82C693)
 		switch (PCI_FUNC(dev->devfn)) {
-			case 1:	return 14;
-			case 2:	return 15;
-			case 3:	return 12;
+		case 1:	return 14;
+		case 2:	return 15;
+		case 3:	return 12;
 		}
 
 	return irqmap_ebsa285[(slot + pin) & 3];