From 74c850394394efc0905c22ab9686e8d20e3921eb Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 25 Jun 2014 10:08:45 -0700 Subject: [PATCH] leds: lm3550: fix attribute-creation race Use the attribute groups of the led-class to create the mode attribute during probe in order to avoid racing with userspace. Signed-off-by: Johan Hovold Signed-off-by: Bryan Wu --- Reading git-format-patch failed