[PATCH 0/2] PCI: shpchp: trivial code cleanup patches

ngn
2024-06-21T06:42:21Z

This is a small and simple patchset that cleans up the old shpchp driver,
a part from fixing checkpatch warnings, this patch set removes the hpc_ops
struct, which is unnecessary. This is explained in the TODO file:
drivers/pci/hotplug/TODO.

Also this is my first patch!! So if you have the time and the enegery
please let me know if I did something wrong :)

ngn (2):
PCI: shpchp: Remove hpc_ops
PCI: shpchp: Follow kernel coding style

drivers/pci/hotplug/shpchp.h | 84 ++++++++--------
drivers/pci/hotplug/shpchp_core.c | 20 ++--
drivers/pci/hotplug/shpchp_ctrl.c | 107 ++++++++++----------
drivers/pci/hotplug/shpchp_hpc.c | 154 ++++++++++++-----------------
drivers/pci/hotplug/shpchp_sysfs.c | 7 +-
5 files changed, 167 insertions(+), 205 deletions(-)

--
2.45.1