]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: think-lmi: Directly use firmware_attributes_class
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 3 Jan 2025 23:05:11 +0000 (00:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:10 +0000 (16:03 +0200)
commit093ee65bdafb723c79ce085442cb907ba5e19025
treedfd1f69bf5f20a1aabf808747e4ff647f5e7e489
parentee813c62af62029916339f86f22da63fadc242aa
platform/x86: think-lmi: Directly use firmware_attributes_class

[ Upstream commit 55922403807a12d4f96c67ba01a920edfb6f2633 ]

The usage of the lifecycle functions is not necessary anymore.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20250104-firmware-attributes-simplify-v1-3-949f9709e405@weissschuh.net
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Stable-dep-of: 5ff1fbb30597 ("platform/x86: think-lmi: Fix class device unregistration")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/think-lmi.c