All of lore.kernel.org
 help / color / mirror / Atom feed
From: ngn <ngn@ngn.tf>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	ngn <ngn@ngn.tf>
Subject: [PATCH 0/2] PCI: shpchp: trivial code cleanup patches
Date: Fri, 21 Jun 2024 09:34:59 +0300	[thread overview]
Message-ID: <cover.1718949042.git.ngn@ngn.tf> (raw)

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


             reply	other threads:[~2024-06-21  6:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-21  6:34 ngn [this message]
2024-06-21  6:35 ` [PATCH 1/2] PCI: shpchp: Remove hpc_ops ngn
2024-07-12 22:44   ` Bjorn Helgaas
2024-07-13  9:05     ` ngn
2024-06-21  6:35 ` [PATCH 2/2] PCI: shpchp: Follow kernel coding style ngn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1718949042.git.ngn@ngn.tf \
    --to=ngn@ngn.tf \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.