From: Linus Walleij Date: Thu, 27 Feb 2014 13:29:22 +0000 (+0100) Subject: ARM: plat-versatile: convert LEDs to platform device X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~45^2~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ecf2bda239ddef5f4edd0e05d48bfdf88a475d;p=pandora-kernel.git ARM: plat-versatile: convert LEDs to platform device The LEDs were initialized unconditionally with an fs_initcall() which doesn't play well with multiplatform. Convert the driver to a platform device and convert all boards with these LEDs to register a platform device and pass the register as a resource instead. Tested successfully on the Versatile/AB and RealView PB1176. Cc: Bryan Wu Cc: Richard Purdie Cc: Russell King Cc: Pawel Moll Signed-off-by: Linus Walleij --- Reading git-diff-tree failed