Dmitry Baryshkov d8bf254089 platform: add new device registration helper
Add a helper that registers simple platform_device w/o resources but with
parent and device data.

This is usefull to cleanup platform code from code that registers such
simple devices as leds-gpio, generic-bl, etc.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-16 09:24:51 -07:00
..
2008-10-15 11:31:54 +11:00
2008-10-15 11:31:54 +11:00
2008-10-13 21:51:57 +01:00
2008-10-14 10:11:27 +11:00
2008-10-15 11:31:54 +11:00
2008-10-15 12:46:51 +01:00
2008-09-03 15:55:32 -07:00
2008-10-15 11:31:54 +11:00
2008-10-03 10:04:10 +02:00