linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] powerpc: struct bus_type cleanup
@ 2024-02-12 20:04 Ricardo B. Marliere
  2024-02-12 20:04 ` [PATCH v2 1/5] powerpc: vio: move device attributes into a new ifdef Ricardo B. Marliere
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Ricardo B. Marliere @ 2024-02-12 20:04 UTC (permalink / raw)
  To: Michael Ellerman, Nicholas Piggin, Christophe Leroy,
	Aneesh Kumar K.V, Naveen N. Rao
  Cc: Greg Kroah-Hartman, Ricardo B. Marliere, linuxppc-dev,
	linux-kernel

This series is part of an effort to cleanup the users of the driver
core, as can be seen in many recent patches authored by Greg across the
tree (e.g. [1]). Patch 1/5 is a prerequisite to 2/5, but the others have
no dependency. They were built using bootlin's without warnings using
powerpc64le-power8--glibc--stable-2023.11-1 toolchain.

---
[1]: https://lore.kernel.org/lkml/?q=f%3Agregkh%40linuxfoundation.org+s%3A%22make%22+and+s%3A%22const%22

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>

---
Changes in v2:
- Added a new patch to make macio_bus_type const.
- Improved changelogs to remove the word "Now".
- Fixed a build error: https://lore.kernel.org/oe-kbuild-all/202402102142.uphiKeqw-lkp@intel.com/
- Link to v1: https://lore.kernel.org/r/20240209-bus_cleanup-powerpc2-v1-0-79a56dcaebb1@marliere.net

---
Ricardo B. Marliere (5):
      powerpc: vio: move device attributes into a new ifdef
      powerpc: vio: make vio_bus_type const
      powerpc: mpic: make mpic_subsys const
      powerpc: pmac: make macio_bus_type const
      powerpc: ibmebus: make ibmebus_bus_type const

 arch/powerpc/include/asm/ibmebus.h       |  2 +-
 arch/powerpc/include/asm/macio.h         |  2 +-
 arch/powerpc/include/asm/mpic.h          |  2 +-
 arch/powerpc/include/asm/vio.h           |  2 +-
 arch/powerpc/platforms/pseries/ibmebus.c |  4 +--
 arch/powerpc/platforms/pseries/vio.c     | 61 ++++++++++++++++++--------------
 arch/powerpc/sysdev/mpic.c               |  2 +-
 drivers/macintosh/macio_asic.c           |  2 +-
 8 files changed, 43 insertions(+), 34 deletions(-)
---
base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3
change-id: 20240209-bus_cleanup-powerpc2-498426fccb98

Best regards,
-- 
Ricardo B. Marliere <ricardo@marliere.net>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-02-15 13:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-12 20:04 [PATCH v2 0/5] powerpc: struct bus_type cleanup Ricardo B. Marliere
2024-02-12 20:04 ` [PATCH v2 1/5] powerpc: vio: move device attributes into a new ifdef Ricardo B. Marliere
2024-02-12 20:05 ` [PATCH v2 2/5] powerpc: vio: make vio_bus_type const Ricardo B. Marliere
2024-02-12 20:05 ` [PATCH v2 3/5] powerpc: mpic: make mpic_subsys const Ricardo B. Marliere
2024-02-12 20:05 ` [PATCH v2 4/5] powerpc: pmac: make macio_bus_type const Ricardo B. Marliere
2024-02-12 20:05 ` [PATCH v2 5/5] powerpc: ibmebus: make ibmebus_bus_type const Ricardo B. Marliere
2024-02-13  8:05 ` [PATCH v2 0/5] powerpc: struct bus_type cleanup Christophe Leroy
2024-02-13  9:36   ` Ricardo B. Marliere
2024-02-13 11:07 ` Greg Kroah-Hartman
2024-02-15 13:00 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).