hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/ipu-v3/ipu-dc.c
....@@ -1,16 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (c) 2010 Sascha Hauer <s.hauer@pengutronix.de>
34 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc.
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License as published by the
7
- * Free Software Foundation; either version 2 of the License, or (at your
8
- * option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful, but
11
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
- * for more details.
145 */
156
167 #include <linux/export.h>
....@@ -150,7 +141,7 @@
150141 switch (fmt) {
151142 default:
152143 WARN_ON(1);
153
- /* fall-through */
144
+ fallthrough;
154145 case MEDIA_BUS_FMT_RGB888_1X24:
155146 return IPU_DC_MAP_RGB24;
156147 case MEDIA_BUS_FMT_RGB565_1X16: