From: Greg Kroah-Hartman Date: Thu, 27 Sep 2007 21:48:53 +0000 (-0700) Subject: kset: add kset_create_and_add function X-Git-Tag: v2.6.25-rc1~1243^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b727c702896f88d2ff6c3e03bd011d7c3dffe3e1;p=pandora-kernel.git kset: add kset_create_and_add function Now ksets can be dynamically created on the fly, no static definitions are required. Thanks to Miklos for hints on how to make this work better for the callers. And thanks to Kay for finding some stupid bugs in my original version and pointing out that we need to handle the fact that kobject's can have a kset as a parent and to handle that properly in kobject_add(). Cc: Kay Sievers Cc: Miklos Szeredi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed