commit | 3c9b8aaf95bb4de3d8ac9fd83d4aca2c97bd9f2a | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Jan 29 12:29:22 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 25 13:42:55 2015 +0100 |
tree | 652b38a29be128c42ed64dda883728baaad008a0 | |
parent | 07afb6ace3bde4ffdce26befa6b2f38c5d708dd0 [diff] |
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>