From 588a6a99286ae30afb1339d8bc2163517b1b7dd1 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 25 Jun 2014 10:08:50 -0700 Subject: [PATCH] leds: netxbig: fix attribute-creation race Use the attribute groups of the led-class to create the sata attribute during probe in order to avoid racing with userspace. [cooloney@gmail.com: clean up return led_classdev_register()] Signed-off-by: Johan Hovold Signed-off-by: Bryan Wu --- Reading git-format-patch failed