]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
platform/chrome: cros_ec_i2c: switch to SPDX identifier
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Tue, 29 Jan 2019 09:38:17 +0000 (10:38 +0100)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 1 Feb 2019 09:13:06 +0000 (10:13 +0100)
Adopt the SPDX license identifier headers to ease license compliance
management. Also fix the module license mismatch and change the
description for a more descriptive phrase.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
drivers/platform/chrome/cros_ec_i2c.c

index 9a009eaa4adabe5df3231d8c5974ddfe3f25faf6..61d75395f86d802c3ad9638e2520bcee863b2440 100644 (file)
@@ -1,17 +1,7 @@
-/*
- * ChromeOS EC multi-function device (I2C)
- *
- * Copyright (C) 2012 Google, Inc
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+// I2C interface for ChromeOS Embedded Controller
+//
+// Copyright (C) 2012 Google, Inc
 
 #include <linux/acpi.h>
 #include <linux/delay.h>
@@ -372,5 +362,5 @@ static struct i2c_driver cros_ec_driver = {
 
 module_i2c_driver(cros_ec_driver);
 
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("ChromeOS EC multi function device");
+MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("I2C interface for ChromeOS Embedded Controller");