]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
driver core: Delete DEVICE_ATTR_PREALLOC()
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 12 May 2026 16:39:11 +0000 (18:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 May 2026 11:36:24 +0000 (13:36 +0200)
commitcdd4c98d5a0e320b18fcdbd37a30a732aec624da
tree85c50d153d090c8d8f3b24d0937c37fc8e0e09e9
parent36d74f17e03f7e60e1b08fbe16cfad6e69cc3aa9
driver core: Delete DEVICE_ATTR_PREALLOC()

This macro is unused and would create extra work during the upcoming
constification of device attributes. Remove it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20260512-sysfs-const-attr-device_attr-prep-v3-1-cb7c17b34d52@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h