commit | 7564d3b6334c5dd619827a85dd32bf7c21df6667 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Nov 05 16:18:52 2019 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Nov 06 15:47:43 2019 +0100 |
tree | 65b8217561333b69f0ef24594d9942a1f5e219d8 | |
parent | 3ca5fc0664ec47fae86bc07749ceb185f7b175f6 [diff] |
ALSA: echoaudio: Avoid non-standard macro usage Pass the device pointer from the PCI pointer directly, instead of a non-standard macro. The macro didn't give any better readability. Also slightly refactor the code (drop the return value check from the preallocation) as it never returns an error. Link: https://lore.kernel.org/r/20191105151856.10785-21-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>