PCI: Clean up accessor macro formatting
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 29 Apr 2024 09:47:07 +0000 (12:47 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 29 Apr 2024 15:43:58 +0000 (10:43 -0500)
commit4c407392c1aff30025457972b173a0729830945f
tree46009ecfff2b402e4306dfdc4578c06c79df36e8
parentc9758cc45c2bd442743848eba88e187bda3047f9
PCI: Clean up accessor macro formatting

Clean up formatting of PCI accessor macros:

  - Put return statements on own line

  - Add a few empty lines for better readability

  - Align macro continuation backslashes

  - Correct function call argument indentation level

  - Reorder variable declarations to order of use

  - Drop unnecessary variable initialization

Link: https://lore.kernel.org/r/20240429094707.2529-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
[bhelgaas: drop initialization, tweak variables to order of use]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/access.c