]> git.baikalelectronics.ru Git - kernel.git/commitdiff
media: atmel: atmel-isc: compact the controller formats list
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 3 May 2022 08:44:19 +0000 (10:44 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:21 +0000 (11:02 +0200)
Compact the list array to be more readable.
No other changes, only cosmetic.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/atmel/atmel-sama5d2-isc.c
drivers/media/platform/atmel/atmel-sama7g5-isc.c

index c2d50b0c0e3d3fd4810d2b676eeface07402f27e..9881d89a645b037b0a370eee07c64c6ecb510f2e 100644 (file)
 static const struct isc_format sama5d2_controller_formats[] = {
        {
                .fourcc         = V4L2_PIX_FMT_ARGB444,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_ARGB555,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_RGB565,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_ABGR32,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_XBGR32,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_YUV420,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_YUYV,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_YUV422P,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_GREY,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_Y10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SBGGR8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGBRG8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGRBG8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SRGGB8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SBGGR10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGBRG10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGRBG10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SRGGB10,
        },
 };
index 07a80b08bc545bcf4b832de0533c5e9061b249f9..5a9db6f41056b119c7a343912fccea55d446d1aa 100644 (file)
 static const struct isc_format sama7g5_controller_formats[] = {
        {
                .fourcc         = V4L2_PIX_FMT_ARGB444,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_ARGB555,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_RGB565,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_ABGR32,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_XBGR32,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_YUV420,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_UYVY,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_VYUY,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_YUYV,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_YUV422P,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_GREY,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_Y10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_Y16,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SBGGR8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGBRG8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGRBG8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SRGGB8,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SBGGR10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGBRG10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SGRBG10,
-       },
-       {
+       }, {
                .fourcc         = V4L2_PIX_FMT_SRGGB10,
        },
 };