From: Dmitry Torokhov Date: Wed, 30 Dec 2009 04:11:20 +0000 (-0800) Subject: Driver core: add platform_create_bundle() helper X-Git-Tag: v2.6.34-rc1~1^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecdf6ceb8cf4756bd4214bf9755755752b6015f5;p=pandora-kernel.git Driver core: add platform_create_bundle() helper Many legacy-style module create singleton platform devices themselves, along with corresponding platform driver. Instead of replicating error handling code in all such drivers, provide a helper that allocates and registers a single platform device and a driver and binds them together. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed