diff mbox series

PCI: vmd: Fix indentation issue in vmd_shutdown()

Message ID 20240901092602.17414-1-riyandhiman14@gmail.com (mailing list archive)
State Accepted
Delegated to: Krzysztof Wilczyński
Headers show
Series PCI: vmd: Fix indentation issue in vmd_shutdown() | expand

Commit Message

Riyan Dhiman Sept. 1, 2024, 9:26 a.m. UTC
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 checkpatch
- ERROR: code indent should use tabs where possible

No functional changes are intended.

Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
---
 drivers/pci/controller/vmd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Krzysztof Wilczyński Sept. 1, 2024, 5:02 p.m. UTC | #1
Hello,

> 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 checkpatch
> - ERROR: code indent should use tabs where possible
> 
> No functional changes are intended.

Applied to controller/vmd, thank you!

[1/1] PCI: vmd: Fix indentation issue in vmd_shutdown()
      https://git.kernel.org/pci/pci/c/4654cf52cbd0

	Krzysztof
diff mbox series

Patch

diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
index a726de0af011..28ce903b96b6 100644
--- a/drivers/pci/controller/vmd.c
+++ b/drivers/pci/controller/vmd.c
@@ -1053,9 +1053,9 @@  static void vmd_remove(struct pci_dev *dev)
 
 static void vmd_shutdown(struct pci_dev *dev)
 {
-        struct vmd_dev *vmd = pci_get_drvdata(dev);
+	struct vmd_dev *vmd = pci_get_drvdata(dev);
 
-        vmd_remove_irq_domain(vmd);
+	vmd_remove_irq_domain(vmd);
 }
 
 #ifdef CONFIG_PM_SLEEP