Searched hist:ecdf6ceb (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | platform_device.h | ecdf6ceb Tue Dec 29 22:11:20 CST 2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> 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> ecdf6ceb Tue Dec 29 22:11:20 CST 2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> 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>
|
/openbmc/linux/drivers/base/ |
H A D | platform.c | ecdf6ceb Tue Dec 29 22:11:20 CST 2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> 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> ecdf6ceb Tue Dec 29 22:11:20 CST 2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> 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>
|