aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index 98422a3eeffc..96b61d9a9284 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -713,18 +713,6 @@ struct kobject *kobject_kset_add_dir(struct kset *kset,
713} 713}
714 714
715/** 715/**
716 * kobject_add_dir - add sub directory of object.
717 * @parent: object in which a directory is created.
718 * @name: directory name.
719 *
720 * Add a plain directory object as child of given object.
721 */
722struct kobject *kobject_add_dir(struct kobject *parent, const char *name)
723{
724 return kobject_create_and_add(name, parent);
725}
726
727/**
728 * kset_init - initialize a kset for use 716 * kset_init - initialize a kset for use
729 * @k: kset 717 * @k: kset
730 */ 718 */