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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux