diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-29 12:29:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-25 13:42:55 +0100 |
commit | 3c9b8aaf95bb4de3d8ac9fd83d4aca2c97bd9f2a (patch) | |
tree | 652b38a29be128c42ed64dda883728baaad008a0 /drivers/sbus | |
parent | 07afb6ace3bde4ffdce26befa6b2f38c5d708dd0 (diff) | |
download | linux-3c9b8aaf95bb4de3d8ac9fd83d4aca2c97bd9f2a.tar.bz2 |
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 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions