gpu: ipu-v3: image-convert: use swap()
authorSalah Triki <salah.triki@gmail.com>
Tue, 13 Jul 2021 14:05:21 +0000 (15:05 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Apr 2022 07:34:20 +0000 (09:34 +0200)
commit180a49e32be29b0d0b26dcb3ac80fbf9e3b8bd9d
tree471bd2f8735d877cd4744fbd3b3af45981dea4cf
parent3123109284176b1532874591f7c81f3837bbdc17
gpu: ipu-v3: image-convert: use swap()

Use swap() instead of implementing it since it makes code cleaner.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Link: https://lore.kernel.org/r/20210713140521.GA1873885@pc
[p.zabel@pengutronix.de: add "image-convert:" prefix to commit description]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c