From: Takashi Iwai Date: Tue, 4 Feb 2014 10:36:11 +0000 (+0100) Subject: ALSA: Clean up snd_device_*() codes X-Git-Tag: v3.15-rc1~142^2~3^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72620d6048445bda3f748c97fb2f18e47b19a9e5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed