Kobject: make kobject apis more robust in handling NULL pointers
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 18 Jan 2007 20:23:51 +0000 (12:23 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:10 +0000 (10:37 -0800)
It should be ok to pass in NULL for some kobject functions, so add error
checking for all exported kobject functions to be more robust.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found