linux_old1/sound/pci/rme9652
Takashi Iwai 1a810436a2 ALSA: rme: 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.

Along with it, drop the unnecessary assignment before the
snd_dma_alloc_pages() call and simplify by returning the error code
directly.

Link: https://lore.kernel.org/r/20191105151856.10785-23-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-11-06 15:47:43 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdsp.c ALSA: rme: Avoid non-standard macro usage 2019-11-06 15:47:43 +01:00
hdspm.c ALSA: rme: Avoid non-standard macro usage 2019-11-06 15:47:43 +01:00
rme9652.c ALSA: rme: Avoid non-standard macro usage 2019-11-06 15:47:43 +01:00