25d9f2834f6cc86bfab46d609 author Dmitry Torokhov 1262146280 -0800 committer Greg Kroah-Hartman 1268010286 -0800 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 Sä5