]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: es1968: Avoid non-standard macro usage
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2019 15:18:53 +0000 (16:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2019 14:47:43 +0000 (15:47 +0100)
commit47dd00146290d4307239272d887759d79bae15c7
treeb4459967b9810bce42b16ddecbcf5c85450a4aaa
parent263279e675564e51a7d7654742d1d7c101b6db36
ALSA: es1968: 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, the unneeded assignment before snd_dma_alloc_pages*()
call is dropped.

Link: https://lore.kernel.org/r/20191105151856.10785-22-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/es1968.c