[PATCH] PM: use kobject_name() to access kobject names
authorDmitry Torokhov <dtor@insightbb.com>
Wed, 11 Apr 2007 05:37:18 +0000 (01:37 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 11 Apr 2007 22:39:39 +0000 (15:39 -0700)
commitc48ea60359a303f3faf5991205b0cdb58dfe6eed
treeccccfdc5ff0b88d83d7b4047d819fba2d41b6d4b
parent5ab7ffea520948115a51a9931e1bb4c818aa8e35
[PATCH] PM: use kobject_name() to access kobject names

Noone should use kobj.name directly since it may contain garbage.
Objects with longer names have them stored in separately allocated
memory pointed to by kobj->k_name.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/power/main.c