ALSA: hda: use swap() to make code cleaner
authorYang Guang <yang.guang5@zte.com.cn>
Sat, 18 Dec 2021 01:54:16 +0000 (09:54 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 25 Dec 2021 08:14:19 +0000 (09:14 +0100)
commit5dcdc4600c3a7773a7b901d6b7eb29340be95cf6
tree1ccaa610706047799b0045e3c9a69082b9053bf3
parent10f2f194663af178f32aeb4086fc3f6687d25056
ALSA: hda: use swap() to make code cleaner

Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: David Yang <davidcomponentone@gmail.com>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Link: https://lore.kernel.org/r/ebc9db44b802dfc88e1538629b517e000acb27b3.1639790796.git.yang.guang5@zte.com.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c