diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-05-02 10:59:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:40:48 -0400 |
commit | 1740757e8f94c6899705eb6f5434de9404992778 (patch) | |
tree | 012bf37dae6c7705a50f88bbdd8d28d975a5dc46 /drivers/base/class.c | |
parent | a0245f7ad5214cb00131d7cd176446e067c913dc (diff) |
[PATCH] Driver Core: remove unused exports
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r-- | drivers/base/class.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index 48ad5df72812..4b598be0e4b6 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -91,14 +91,14 @@ void class_remove_file(struct class * cls, const struct class_attribute * attr) | |||
91 | sysfs_remove_file(&cls->subsys.kset.kobj, &attr->attr); | 91 | sysfs_remove_file(&cls->subsys.kset.kobj, &attr->attr); |
92 | } | 92 | } |
93 | 93 | ||
94 | struct class * class_get(struct class * cls) | 94 | static struct class *class_get(struct class *cls) |
95 | { | 95 | { |
96 | if (cls) | 96 | if (cls) |
97 | return container_of(subsys_get(&cls->subsys), struct class, subsys); | 97 | return container_of(subsys_get(&cls->subsys), struct class, subsys); |
98 | return NULL; | 98 | return NULL; |
99 | } | 99 | } |
100 | 100 | ||
101 | void class_put(struct class * cls) | 101 | static void class_put(struct class * cls) |
102 | { | 102 | { |
103 | if (cls) | 103 | if (cls) |
104 | subsys_put(&cls->subsys); | 104 | subsys_put(&cls->subsys); |
@@ -894,8 +894,6 @@ EXPORT_SYMBOL_GPL(class_create_file); | |||
894 | EXPORT_SYMBOL_GPL(class_remove_file); | 894 | EXPORT_SYMBOL_GPL(class_remove_file); |
895 | EXPORT_SYMBOL_GPL(class_register); | 895 | EXPORT_SYMBOL_GPL(class_register); |
896 | EXPORT_SYMBOL_GPL(class_unregister); | 896 | EXPORT_SYMBOL_GPL(class_unregister); |
897 | EXPORT_SYMBOL_GPL(class_get); | ||
898 | EXPORT_SYMBOL_GPL(class_put); | ||
899 | EXPORT_SYMBOL_GPL(class_create); | 897 | EXPORT_SYMBOL_GPL(class_create); |
900 | EXPORT_SYMBOL_GPL(class_destroy); | 898 | EXPORT_SYMBOL_GPL(class_destroy); |
901 | 899 | ||