diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-24 17:27:29 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-24 17:27:29 (GMT) |
commit | 9d3ab801740ab5ff1e22932fdfecdaacd0d64a18 (patch) | |
tree | 70061c043912a0e7dd36c36428160e87f5eb040a /drivers/video/atafb.c | |
parent | 76e1f486b2e6775bba31118b362e01ea6033a0e6 (diff) | |
download | linux-fsl-qoriq-9d3ab801740ab5ff1e22932fdfecdaacd0d64a18.tar.xz |
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>
Diffstat (limited to 'drivers/video/atafb.c')
0 files changed, 0 insertions, 0 deletions