diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-30 20:16:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-02 20:02:42 +0000 |
commit | d29697dc3b92cb12a80632a5ade4fa26fd98225e (patch) | |
tree | 1e829f0bacff5d5f2130ed13731f91e60f683c6b /drivers/net/ethernet/korina.c | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | talos-obmc-linux-d29697dc3b92cb12a80632a5ade4fa26fd98225e.tar.gz talos-obmc-linux-d29697dc3b92cb12a80632a5ade4fa26fd98225e.zip |
ASoC: Add sysfs entries via static attribute groups
Instead of calling device_create_file() manually, assign the static
attribute group entries at the device registration. This simplifies
the error handling and avoids the possible races.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/korina.c')
0 files changed, 0 insertions, 0 deletions