From: Linus Walleij Date: Tue, 3 Mar 2015 09:08:19 +0000 (+0100) Subject: leds: syscon: instantiate from platform device X-Git-Tag: omap-for-v4.3/legacy-v2-signed~131^2~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a917d4b44afc968d35e9b2717fea52946f512df1;p=pandora-kernel.git leds: syscon: instantiate from platform device Currently syscon LEDs will traverse the device tree looking for syscon devices and if found, traverse any subnodes of these to identify matching children and from there instantiate LED class devices. This is not a good use of the Linux device model. Instead we have converted the device trees to add the "simple-mfd" property to the MFD nexi spawning syscon LEDs so that these will appear as platform devices in the system and we can use the proper device probing mechanism. Cc: Arnd Bergmann Cc: Lee Jones Cc: Pawel Moll Cc: Mark Rutland Reviewed-by: Bjorn Andersson Signed-off-by: Linus Walleij --- Reading git-diff-tree failed