From: Jeff Mahoney Date: Wed, 11 Sep 2013 17:00:30 +0000 (-0400) Subject: kobject: introduce kobj_completion X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee031649707db3c9920d9498f8d03819b74fc23;p=pandora-kernel.git kobject: introduce kobj_completion A common way to handle kobject lifetimes in embedded in objects with different lifetime rules is to pair the kobject with a struct completion. This introduces a kobj_completion structure that can be used in place of the pairing, along with several convenience functions for initialization, release, and put-and-wait. Signed-off-by: Jeff Mahoney Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed