From a917d4b44afc968d35e9b2717fea52946f512df1 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 3 Mar 2015 10:08:19 +0100 Subject: [PATCH] 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-format-patch failed