diff options
author | Takashi Iwai <[email protected]> | 2015-02-04 11:48:51 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2015-02-23 13:06:58 +0100 |
commit | 2c1946b6d6290c74c6ad8d0915590d64f33a034d (patch) | |
tree | 7bee92adb802c5681d740f314f3e52ac95df7f09 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 7260194595a23e6e762cd444cb40044fd5fa25c0 (diff) |
EDAC: Use static attribute groups for managing sysfs entries
Instead of manual calls of device_create_file() and
device_remove_file(), use static attribute groups with proper
is_visible callbacks for managing the sysfs entries.
This simplifies the code a lot and avoids the possible races.
Signed-off-by: Takashi Iwai <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions