Skip to content

Commit 4654cf5

Browse files
riyandhiman14kwilczynski
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/20240901092602.17414-1-riyandhiman14@gmail.com Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
1 parent 8400291 commit 4654cf5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • drivers/pci/controller

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)