commit | 9d3ab801740ab5ff1e22932fdfecdaacd0d64a18 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 24 10:27:29 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 24 10:27:29 2013 -0700 |
tree | 70061c043912a0e7dd36c36428160e87f5eb040a | |
parent | 76e1f486b2e6775bba31118b362e01ea6033a0e6 [diff] |
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 <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>