summaryrefslogtreecommitdiffstats
path: root/sound/core/hwdep.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-04 11:36:11 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-25 12:12:52 +0100
commit72620d6048445bda3f748c97fb2f18e47b19a9e5 (patch)
treed477ad2c4ade6b2d3c1ef2d37aa555ec8c1ac137 /sound/core/hwdep.c
parent289ca025ee1d78223e3368801fc2b984e5efbfc7 (diff)
downloadlinux-stable-72620d6048445bda3f748c97fb2f18e47b19a9e5.tar.gz
linux-stable-72620d6048445bda3f748c97fb2f18e47b19a9e5.tar.bz2
linux-stable-72620d6048445bda3f748c97fb2f18e47b19a9e5.zip
ALSA: Clean up snd_device_*() codes
A few code cleanups and optimizations. In addition, drop snd_device_disconnect() that isn't used at all, and drop the return values from snd_device_free*(). Another slight difference by this change is that now the device state will become always SNDRV_DEV_REGISTERED no matter whether dev_register ops is present or not. It's for better consistency. There should be no impact for the current tree, as the state isn't checked. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/hwdep.c')
0 files changed, 0 insertions, 0 deletions