Skip to content

PCI: shpchp: trivial code cleanup patches

ngn linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: shpchp: Remove hpc_opsdrivers/pci/hotplug/shpchp.h drivers/pci/hotplug/shpchp_core.c drivers/pci/hotplug/shpchp_ctrl.c +1 more+120 -1542 replies
2/2PCI: shpchp: Follow kernel coding styledrivers/pci/hotplug/shpchp_hpc.c drivers/pci/hotplug/shpchp_sysfs.c+47 -510 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.1