summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/firmware_attributes_class.c13
-rw-r--r--drivers/platform/x86/firmware_attributes_class.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/platform/x86/firmware_attributes_class.c b/drivers/platform/x86/firmware_attributes_class.c
index 87672c49e86a..736e96c186d9 100644
--- a/drivers/platform/x86/firmware_attributes_class.c
+++ b/drivers/platform/x86/firmware_attributes_class.c
@@ -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");
diff --git a/drivers/platform/x86/firmware_attributes_class.h b/drivers/platform/x86/firmware_attributes_class.h
index ef6c3764a834..d27abe54fcf9 100644
--- a/drivers/platform/x86/firmware_attributes_class.h
+++ b/drivers/platform/x86/firmware_attributes_class.h
@@ -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 */