diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-29 11:29:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-25 12:42:55 (GMT) |
commit | 3c9b8aaf95bb4de3d8ac9fd83d4aca2c97bd9f2a (patch) | |
tree | 652b38a29be128c42ed64dda883728baaad008a0 /ipc/compat.c | |
parent | 07afb6ace3bde4ffdce26befa6b2f38c5d708dd0 (diff) | |
download | linux-3c9b8aaf95bb4de3d8ac9fd83d4aca2c97bd9f2a.tar.xz |
drivers/base/node: Avoid manual device_create_file() calls
Instead of manual calls of multiple device_create_file() and
device_remove_file(), use the static attribute groups assigned to the
new device. This also fixes the possible races, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions