mbox series

[0/3] PCI/sysfs: move to sysfs funcs to pci-sysfs.c & do small tweaks

Message ID 20241028174046.1736-1-ilpo.jarvinen@linux.intel.com
Headers show
Series PCI/sysfs: move to sysfs funcs to pci-sysfs.c & do small tweaks | expand

Message

Ilpo Järvinen Oct. 28, 2024, 5:40 p.m. UTC
Hi all,

This series moves reset related sysfs functions into the correct file
and does small style related improvements.

This series is based on top of commit 2985b1844f3f ("PCI: Fix
reset_method_store() memory leak") in pci/misc branch to avoid
conflict with the code move.


Ilpo Järvinen (3):
  PCI/sysfs: Move reset related sysfs code to correct file
  PCI/sysfs: Use __free() in reset_method_store()
  PCI/sysfs: Remove unnecessary zero in initializer

 drivers/pci/pci-sysfs.c | 108 ++++++++++++++++++++++++++++++++++
 drivers/pci/pci.c       | 125 +---------------------------------------
 drivers/pci/pci.h       |   3 +-
 3 files changed, 110 insertions(+), 126 deletions(-)