public inbox for driver-core@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/3] driver core: make struct device_driver and bus_type groups members constant arrays
@ 2026-03-16 22:08 Heiner Kallweit
  2026-03-16 22:09 ` [PATCH 1/3] driver core: constify group arrays arguments in driver_add_groups and driver_remove_groups Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Heiner Kallweit @ 2026-03-16 22:08 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Danilo Krummrich; +Cc: driver-core

This series constifies the attribute group groups arrays in struct
device_driver and bus_type, allowing to assign constant arrays.

Heiner Kallweit (3):
  driver core: constify group arrays arguments in driver_add_groups and
    driver_remove_groups
  driver core: make struct bus_type groups members constant arrays
  device core: make struct device_driver groups members constant arrays

 drivers/base/base.h           | 6 ++++--
 drivers/base/driver.c         | 4 ++--
 include/linux/device/bus.h    | 6 +++---
 include/linux/device/driver.h | 4 ++--
 4 files changed, 11 insertions(+), 9 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-04-02 16:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16 22:08 [PATCH 0/3] driver core: make struct device_driver and bus_type groups members constant arrays Heiner Kallweit
2026-03-16 22:09 ` [PATCH 1/3] driver core: constify group arrays arguments in driver_add_groups and driver_remove_groups Heiner Kallweit
2026-04-02 15:11   ` Greg Kroah-Hartman
2026-04-02 16:25     ` Heiner Kallweit
2026-03-16 22:10 ` [PATCH 2/3] driver core: make struct bus_type groups members constant arrays Heiner Kallweit
2026-03-16 22:11 ` [PATCH 3/3] device core: make struct device_driver " Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox