Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/chrome: cros_ec_sysfs: switch to SPDX identifier

Adopt the SPDX license identifier headers to ease license compliance
management. Also change the description for one more appropriate.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>

+5 -19
+5 -19
drivers/platform/chrome/cros_ec_sysfs.c
··· 1 - /* 2 - * cros_ec_sysfs - expose the Chrome OS EC through sysfs 3 - * 4 - * Copyright (C) 2014 Google, Inc. 5 - * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; either version 2 of the License, or 9 - * (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU General Public License 17 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // Expose the ChromeOS EC through sysfs 3 + // 4 + // Copyright (C) 2014 Google, Inc. 19 5 20 6 #define pr_fmt(fmt) "cros_ec_sysfs: " fmt 21 7 ··· 375 389 module_platform_driver(cros_ec_sysfs_driver); 376 390 377 391 MODULE_LICENSE("GPL"); 378 - MODULE_DESCRIPTION("ChromeOS EC control driver"); 392 + MODULE_DESCRIPTION("Expose the ChromeOS EC through sysfs"); 379 393 MODULE_ALIAS("platform:" DRV_NAME);