Currently each user of firmware_attributes_class has to manually set up kobjects, devices, etc. Provide a higher level API which takes care of the low-level details. Also provide a test driver for the new API. Based upon pdx86/for-next and my firmware_attributes simplification series[0]. [0] https://lore.kernel.org/lkml/20250104-firmware-attributes-simplify-v1-0-949f9709e405@xxxxxxxxxxxxxx/ Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx> --- Thomas Weißschuh (2): platform/x86: firmware_attributes_class: Provide a highlevel interface platform/x86: firmware_attributes_class: Add test driver drivers/platform/x86/Kconfig | 12 ++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/firmware_attributes_class.c | 146 +++++++++++++++++++++++ drivers/platform/x86/firmware_attributes_class.h | 37 ++++++ drivers/platform/x86/firmware_attributes_test.c | 78 ++++++++++++ 5 files changed, 274 insertions(+) --- base-commit: 25f05112995242b5a7ec1a91fbcb4dab66719af2 change-id: 20250107-pdx86-firmware-attributes-a5175a425fca Best regards, -- Thomas Weißschuh <linux@xxxxxxxxxxxxxx>