aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-08-07 12:19:18 -0400
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-08-14 17:38:45 -0400
commit734c5cd5bc2f391ece9ab71b35abb33dfa5713ec (patch)
tree7d1bb931af06405b0853e998305199790da6b949
parent6f7ea94acbb751f617bfd674086b388460ee5b3b (diff)
rtc: maxim: Add SPDX license identifiers
Replace GPL v2.0+ license statements with SPDX license identifiers. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-max77686.c20
-rw-r--r--drivers/rtc/rtc-max8997.c20
-rw-r--r--drivers/rtc/rtc-max8998.c20
3 files changed, 21 insertions, 39 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index cefde273fae6..8a60900d6b8b 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -1,16 +1,10 @@
1/* 1// SPDX-License-Identifier: GPL-2.0+
2 * RTC driver for Maxim MAX77686 and MAX77802 2//
3 * 3// RTC driver for Maxim MAX77686 and MAX77802
4 * Copyright (C) 2012 Samsung Electronics Co.Ltd 4//
5 * 5// Copyright (C) 2012 Samsung Electronics Co.Ltd
6 * based on rtc-max8997.c 6//
7 * 7// based on rtc-max8997.c
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 *
13 */
14 8
15#include <linux/i2c.h> 9#include <linux/i2c.h>
16#include <linux/slab.h> 10#include <linux/slab.h>
diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c
index e8cee123e8aa..08c661a332ec 100644
--- a/drivers/rtc/rtc-max8997.c
+++ b/drivers/rtc/rtc-max8997.c
@@ -1,16 +1,10 @@
1/* 1// SPDX-License-Identifier: GPL-2.0+
2 * RTC driver for Maxim MAX8997 2//
3 * 3// RTC driver for Maxim MAX8997
4 * Copyright (C) 2013 Samsung Electronics Co.Ltd 4//
5 * 5// Copyright (C) 2013 Samsung Electronics Co.Ltd
6 * based on rtc-max8998.c 6//
7 * 7// based on rtc-max8998.c
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 *
13 */
14 8
15#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 9#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
16 10
diff --git a/drivers/rtc/rtc-max8998.c b/drivers/rtc/rtc-max8998.c
index d8c0f9b3f87d..c873b4509b3c 100644
--- a/drivers/rtc/rtc-max8998.c
+++ b/drivers/rtc/rtc-max8998.c
@@ -1,16 +1,10 @@
1/* 1// SPDX-License-Identifier: GPL-2.0+
2 * RTC driver for Maxim MAX8998 2//
3 * 3// RTC driver for Maxim MAX8998
4 * Copyright (C) 2010 Samsung Electronics Co.Ltd 4//
5 * Author: Minkyu Kang <mk7.kang@samsung.com> 5// Copyright (C) 2010 Samsung Electronics Co.Ltd
6 * Author: Joonyoung Shim <jy0922.shim@samsung.com> 6// Author: Minkyu Kang <mk7.kang@samsung.com>
7 * 7// Author: Joonyoung Shim <jy0922.shim@samsung.com>
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 *
13 */
14 8
15#include <linux/module.h> 9#include <linux/module.h>
16#include <linux/i2c.h> 10#include <linux/i2c.h>