summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-06 09:24:43 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 07:40:11 +0300
commit4ff6abff832fbc6cb1d769f6106c841bc2b09f63 (patch)
tree8458c8e29f53b67912edbe2424e43f95556832ce /include/linux/kobject.h
parent3f9e3ee9dc3605e5c593b5d708494571fb0d3970 (diff)
downloadlinux-4ff6abff832fbc6cb1d769f6106c841bc2b09f63.tar.xz
kobject: get rid of kobject_add_dir
kobject_create_and_add is the same as kobject_add_dir, so drop kobject_add_dir. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 33e7a6142a75..7b09136fb211 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -105,7 +105,6 @@ extern void kobject_put(struct kobject *);
extern struct kobject *kobject_kset_add_dir(struct kset *kset,
struct kobject *, const char *);
-extern struct kobject *kobject_add_dir(struct kobject *, const char *);
extern char * kobject_get_path(struct kobject *, gfp_t);