[PATCH 0/2] PCI: shpchp: trivial code cleanup patches
From: ngn
Date: Fri Jun 21 2024 - 02:42:28 EST
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