media: saa7134: use swap() to make code cleaner
authorYang Guang <yang.guang5@zte.com.cn>
Mon, 20 Dec 2021 07:46:46 +0000 (08:46 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:42 +0000 (21:18 +0100)
commitd8772818e223e7b01b16b8a59eb44dfddd830dcf
treeadaee8f64c061e16bb5a31e3219571c507664904
parentf0c2ba1ed4ad868331d8c6ea9119669a729b01a9
media: saa7134: 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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/pci/saa7134/saa7134-video.c