From: Greg Kroah-Hartman Date: Sat, 24 Aug 2013 17:27:29 +0000 (-0700) Subject: staging: android: timed_output: fix sysfs file creation race X-Git-Tag: v3.12-rc1~183^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3ab801740ab5ff1e22932fdfecdaacd0d64a18;p=pandora-kernel.git staging: android: timed_output: fix sysfs file creation race The sysfs file for the driver was being created _after_ the device was announced to userspace, causing a race with any tools looking for sysfs files. Fix the race by using the default attribute group for the class. Cc: Kees Cook Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed