From: Johan Hovold Date: Wed, 25 Jun 2014 17:08:48 +0000 (-0700) Subject: leds: lm3642: fix attribute-creation race X-Git-Tag: omap-for-v3.17/fixes-against-rc2~126^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe29a3b0bb375aeac1c995904369553e62d03d75;p=pandora-kernel.git leds: lm3642: fix attribute-creation race Use the attribute groups of the led-class to create the flash and torch-LED attributes during probe in order to avoid racing with userspace. Signed-off-by: Johan Hovold Signed-off-by: Bryan Wu --- Reading git-diff-tree failed