Skip to content

Commit 4654cf5

Browse files
Ryand1234kwilczynski
authored andcommitted
PCI: vmd: Fix indentation issue in vmd_shutdown()
The code in vmd_shutdown() had an indentation issue where spaces were used instead of tabs. This commit corrects the indentation to use tabs, adhering to the Linux kernel coding style guidelines. Issue reported by the checkpatch.pl script: ERROR: code indent should use tabs where possible #1056: FILE: drivers/pci/controller/vmd.c:1056: + struct vmd_dev *vmd = pci_get_drvdata(dev);$ WARNING: please, no spaces at the start of a line #1056: FILE: drivers/pci/controller/vmd.c:1056: + struct vmd_dev *vmd = pci_get_drvdata(dev);$ ERROR: code indent should use tabs where possible #1058: FILE: drivers/pci/controller/vmd.c:1058: + vmd_remove_irq_domain(vmd);$ WARNING: please, no spaces at the start of a line #1058: FILE: drivers/pci/controller/vmd.c:1058: + vmd_remove_irq_domain(vmd);$ No functional changes are intended. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Riyan Dhiman <[email protected]> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent 8400291 commit 4654cf5

File tree

1 file changed

+2
-2
lines changed
  • drivers/pci/controller

1 file changed

+2
-2
lines changed

drivers/pci/controller/vmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,9 +1053,9 @@ static void vmd_remove(struct pci_dev *dev)
10531053

10541054
static void vmd_shutdown(struct pci_dev *dev)
10551055
{
1056-
struct vmd_dev *vmd = pci_get_drvdata(dev);
1056+
struct vmd_dev *vmd = pci_get_drvdata(dev);
10571057

1058-
vmd_remove_irq_domain(vmd);
1058+
vmd_remove_irq_domain(vmd);
10591059
}
10601060

10611061
#ifdef CONFIG_PM_SLEEP

0 commit comments

Comments
 (0)