kobject: add kobject_create_and_add function
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Nov 2007 21:16:15 +0000 (13:16 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:10 +0000 (20:40 -0800)
commit3f9e3ee9dc3605e5c593b5d708494571fb0d3970
treeb5490463c14b919f88ec18833846a38cfb621aa3
parentb727c702896f88d2ff6c3e03bd011d7c3dffe3e1
kobject: add kobject_create_and_add function

This lets users create dynamic kobjects much easier.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kobject.h
lib/kobject.c