From 35c164998eede9e3d49f51541fcf2e639670fe72 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 25 Jun 2014 10:08:49 -0700 Subject: [PATCH] leds: max8997: 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