platform/x86: firmware_attributes_class: Drop lifecycle functions
There are no users left. 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-6-949f9709e405@weissschuh.net Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
committed by
Ilpo Järvinen
parent
501d2f0e78
commit
6af39604c7
@@ -22,19 +22,6 @@ static __exit void fw_attributes_class_exit(void)
|
||||
}
|
||||
module_exit(fw_attributes_class_exit);
|
||||
|
||||
int fw_attributes_class_get(const struct class **fw_attr_class)
|
||||
{
|
||||
*fw_attr_class = &firmware_attributes_class;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(fw_attributes_class_get);
|
||||
|
||||
int fw_attributes_class_put(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(fw_attributes_class_put);
|
||||
|
||||
MODULE_AUTHOR("Mark Pearson <markpearson@lenovo.com>");
|
||||
MODULE_DESCRIPTION("Firmware attributes class helper module");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -8,7 +8,5 @@
|
||||
#include <linux/device/class.h>
|
||||
|
||||
extern const struct class firmware_attributes_class;
|
||||
int fw_attributes_class_get(const struct class **fw_attr_class);
|
||||
int fw_attributes_class_put(void);
|
||||
|
||||
#endif /* FW_ATTR_CLASS_H */
|
||||
|
||||
Reference in New Issue
Block a user