be238147d6597dc557bda5567e28be4a515add45
[openwrt/openwrt.git] / target / linux / at91 / patches-5.15 / 141-drivers-soc-atmel-add-spdx-license-identifier.patch
1 From acd4816cfa7811b13ca2864645f2de41031ccf4d Mon Sep 17 00:00:00 2001
2 From: Claudiu Beznea <claudiu.beznea@microchip.com>
3 Date: Tue, 26 Jan 2021 11:29:30 +0200
4 Subject: [PATCH 141/247] drivers: soc: atmel: add spdx license identifier
5
6 Add SPDX-License-Identifier.
7
8 Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
9 [nicolas.ferre@microhcip.com: remove license boilerplate now it's useless]
10 Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
11 Link: https://lore.kernel.org/r/1611653376-24168-2-git-send-email-claudiu.beznea@microchip.com
12 ---
13 drivers/soc/atmel/soc.c | 6 +-----
14 drivers/soc/atmel/soc.h | 6 +-----
15 2 files changed, 2 insertions(+), 10 deletions(-)
16
17 --- a/drivers/soc/atmel/soc.c
18 +++ b/drivers/soc/atmel/soc.c
19 @@ -1,13 +1,9 @@
20 +// SPDX-License-Identifier: GPL-2.0-only
21 /*
22 * Copyright (C) 2015 Atmel
23 *
24 * Alexandre Belloni <alexandre.belloni@free-electrons.com
25 * Boris Brezillon <boris.brezillon@free-electrons.com
26 - *
27 - * This file is licensed under the terms of the GNU General Public
28 - * License version 2. This program is licensed "as is" without any
29 - * warranty of any kind, whether express or implied.
30 - *
31 */
32
33 #define pr_fmt(fmt) "AT91: " fmt
34 --- a/drivers/soc/atmel/soc.h
35 +++ b/drivers/soc/atmel/soc.h
36 @@ -1,12 +1,8 @@
37 +/* SPDX-License-Identifier: GPL-2.0-only */
38 /*
39 * Copyright (C) 2015 Atmel
40 *
41 * Boris Brezillon <boris.brezillon@free-electrons.com
42 - *
43 - * This file is licensed under the terms of the GNU General Public
44 - * License version 2. This program is licensed "as is" without any
45 - * warranty of any kind, whether express or implied.
46 - *
47 */
48
49 #ifndef __AT91_SOC_H