From: Dmitry Baryshkov Date: Mon, 22 Sep 2008 21:41:40 +0000 (-0700) Subject: platform: add new device registration helper X-Git-Tag: v2.6.28-rc1~284^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8bf254089a6c31d7d01a4d1d2f1861662900855;p=pandora-kernel.git 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 Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed