* [PATCH 1/2] Input: mms114 - add SPDX identifier
2018-02-01 8:23 ` [PATCH 0/2] Licensing fixes and updates for the mms114 driver Andi Shyti
@ 2018-02-01 8:23 ` Andi Shyti
2018-02-01 8:23 ` [PATCH 2/2] Input: mms114 - fix license module information Andi Shyti
1 sibling, 0 replies; 3+ messages in thread
From: Andi Shyti @ 2018-02-01 8:23 UTC (permalink / raw)
To: Dmitry Torokhov, Marcus Folkesson
Cc: Sangwon Jee, linux-input, linux-kernel, Andi Shyti, Andi Shyti
Replace the original license statement with the SPDX identifier.
Add also one line of description as recommended by the COPYING
file.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
---
drivers/input/touchscreen/mms114.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index db4f6bb502e3..be7926555432 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -1,11 +1,8 @@
-/*
- * Copyright (C) 2012 Samsung Electronics Co.Ltd
- * Author: Joonyoung Shim <jy0922.shim@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+// Melfas MMS114/MMS152 touchscreen device driver
+//
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+// Author: Joonyoung Shim <jy0922.shim@samsung.com>
#include <linux/module.h>
#include <linux/delay.h>
--
2.15.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] Input: mms114 - fix license module information
2018-02-01 8:23 ` [PATCH 0/2] Licensing fixes and updates for the mms114 driver Andi Shyti
2018-02-01 8:23 ` [PATCH 1/2] Input: mms114 - add SPDX identifier Andi Shyti
@ 2018-02-01 8:23 ` Andi Shyti
1 sibling, 0 replies; 3+ messages in thread
From: Andi Shyti @ 2018-02-01 8:23 UTC (permalink / raw)
To: Dmitry Torokhov, Marcus Folkesson
Cc: Sangwon Jee, linux-input, linux-kernel, Andi Shyti, Andi Shyti
The driver has been released with GNU Public License v2 as stated
in the header, but the module license information has been tagged
as "GPL" (GNU Public License v2 or later).
Fix the module license information so that it matches the one in
the header as "GPL v2".
Fixes: 07b8481d4aff ("Input: add MELFAS mms114 touchscreen driver")
Reported-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
---
drivers/input/touchscreen/mms114.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index be7926555432..a5ab774da4cc 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -621,4 +621,4 @@ module_i2c_driver(mms114_driver);
/* Module information */
MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
MODULE_DESCRIPTION("MELFAS mms114 Touchscreen driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
--
2.15.1
^ permalink raw reply related [flat|nested] 3+ messages in thread