Dmitry Torokhov ecdf6ceb8c 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 <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-07 17:04:46 -08:00
..
2010-03-06 11:26:28 -08:00
2010-03-07 22:17:20 +01:00
2010-03-07 22:17:05 +01:00
2010-03-07 22:17:32 +01:00
2010-03-06 11:30:18 -08:00
2010-03-07 22:17:08 +01:00
2010-03-07 22:17:16 +01:00
2010-03-07 22:17:08 +01:00
2010-03-06 11:26:46 -08:00
2010-03-06 11:26:28 -08:00