tree: Run clang-format to conform to the kernel coding style

The coding style has been a bit erratic. Enforce the linux kernel coding
style by reusing their .clang-format file, running clang-format on the
source, and ignoring the few shortcomings that clang-format has at the
moment (especially on aligning the define values).

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-16 22:02:38 +02:00
parent f831082a09
commit 5aeb07f8bf
28 changed files with 1066 additions and 386 deletions
+3 -3
View File
@@ -21,10 +21,10 @@
#define _TILED_YUV_H_
void tiled_to_planar(void *src, void *dst, unsigned int dst_pitch,
unsigned int width, unsigned int height);
unsigned int width, unsigned int height);
void tiled_deinterleave_to_planar(void *src, void *dst1, void *dst2,
unsigned int dst_pitch,
unsigned int width, unsigned int height);
unsigned int dst_pitch, unsigned int width,
unsigned int height);
#endif