public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] driver core: Allow the constification of device attributes
@ 2026-04-08 19:30 Thomas Weißschuh
  2026-04-08 19:30 ` [PATCH 1/5] driver core: Delete DEVICE_ATTR_PREALLOC() Thomas Weißschuh
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Thomas Weißschuh @ 2026-04-08 19:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Danilo Krummrich
  Cc: driver-core, linux-kernel, Thomas Weißschuh

Allow device attribute to reside in read-only memory.
Both const and non-const attributes are handled by the utility macros
and attributes can be migrated one-by-one.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (5):
      driver core: Delete DEVICE_ATTR_PREALLOC()
      driver core: Add low-level macros for device attributes
      driver core: stop using generic sysfs macros for device attributes
      driver core: Allow the constification of device attributes
      driver core: Constify core device attributes

 drivers/base/core.c    |  50 ++++++++++----------
 include/linux/device.h | 122 +++++++++++++++++++++++++++++++++++++------------
 2 files changed, 121 insertions(+), 51 deletions(-)
---
base-commit: 6c8dfb0362732bf1e4829867a2a5239fedc592d0
change-id: 20260408-sysfs-const-attr-device_attr-prep-9971fb4439da

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>


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

end of thread, other threads:[~2026-04-09  8:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08 19:30 [PATCH 0/5] driver core: Allow the constification of device attributes Thomas Weißschuh
2026-04-08 19:30 ` [PATCH 1/5] driver core: Delete DEVICE_ATTR_PREALLOC() Thomas Weißschuh
2026-04-08 19:30 ` [PATCH 2/5] driver core: Add low-level macros for device attributes Thomas Weißschuh
2026-04-08 19:30 ` [PATCH 3/5] driver core: stop using generic sysfs " Thomas Weißschuh
2026-04-08 19:30 ` [PATCH 4/5] driver core: Allow the constification of " Thomas Weißschuh
2026-04-08 19:30 ` [PATCH 5/5] driver core: Constify core " Thomas Weißschuh
2026-04-09  5:36 ` [PATCH 0/5] driver core: Allow the constification of " Greg Kroah-Hartman
2026-04-09  8:47   ` Thomas Weißschuh

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