aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/class.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-05-02 10:59:59 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 15:40:48 -0400
commit1740757e8f94c6899705eb6f5434de9404992778 (patch)
tree012bf37dae6c7705a50f88bbdd8d28d975a5dc46 /drivers/base/class.c
parenta0245f7ad5214cb00131d7cd176446e067c913dc (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.c6
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
94struct class * class_get(struct class * cls) 94static 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
101void class_put(struct class * cls) 101static 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);
894EXPORT_SYMBOL_GPL(class_remove_file); 894EXPORT_SYMBOL_GPL(class_remove_file);
895EXPORT_SYMBOL_GPL(class_register); 895EXPORT_SYMBOL_GPL(class_register);
896EXPORT_SYMBOL_GPL(class_unregister); 896EXPORT_SYMBOL_GPL(class_unregister);
897EXPORT_SYMBOL_GPL(class_get);
898EXPORT_SYMBOL_GPL(class_put);
899EXPORT_SYMBOL_GPL(class_create); 897EXPORT_SYMBOL_GPL(class_create);
900EXPORT_SYMBOL_GPL(class_destroy); 898EXPORT_SYMBOL_GPL(class_destroy);
901 899