linux_dsm_epyc7002/drivers/gpu/drm/atmel-hlcdc
Ville Syrjälä 695379b373 drm/atmel-hlcdc: Use swap() where appropriate
@swap@
identifier TEMP;
expression A,B;
@@
- TEMP = A;
- A = B;
- B = TEMP;
+ swap(A, B);

@@
type T;
identifier swap.TEMP;
@@
(
- T TEMP;
|
- T TEMP = {...};
)
... when != TEMP

Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010131159.17346-3-ville.syrjala@linux.intel.com
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
2019-10-11 18:22:50 +03:00
..
atmel_hlcdc_crtc.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
atmel_hlcdc_dc.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
atmel_hlcdc_dc.h Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
atmel_hlcdc_output.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
atmel_hlcdc_plane.c drm/atmel-hlcdc: Use swap() where appropriate 2019-10-11 18:22:50 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile