[07/10] mfd: cros_ec: Update with SPDX Licence identifier and fix description
diff mbox series

Message ID 20190604152019.16100-8-enric.balletbo@collabora.com
State New
Headers show
Series
  • [01/10] mfd / platform: cros_ec: Handle chained ECs as platform devices
Related show

Commit Message

Enric Balletbo i Serra June 4, 2019, 3:20 p.m. UTC
Update with SPDX Licence identifier to remove the licence boiler plate
and fix description to be more clear on what's about this driver and to
avoid confusions.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---

 drivers/mfd/cros_ec_dev.c   |  4 ++--
 include/linux/mfd/cros_ec.h | 12 ++----------
 2 files changed, 4 insertions(+), 12 deletions(-)

Patch
diff mbox series

diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c
index 5481df4e1216..658622807b41 100644
--- a/drivers/mfd/cros_ec_dev.c
+++ b/drivers/mfd/cros_ec_dev.c
@@ -1,6 +1,6 @@ 
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * cros_ec_dev - expose the Chrome OS Embedded Controller to user-space
+ * ChromeOS Embedded Controller multifunction device
  *
  * Copyright (C) 2014 Google, Inc.
  */
@@ -403,6 +403,6 @@  module_exit(cros_ec_dev_exit);
 
 MODULE_ALIAS("platform:" DRV_NAME);
 MODULE_AUTHOR("Bill Richardson <wfrichar@chromium.org>");
-MODULE_DESCRIPTION("Userspace interface to the Chrome OS Embedded Controller");
+MODULE_DESCRIPTION("ChromeOS Embedded Controller multifunction device");
 MODULE_VERSION("1.0");
 MODULE_LICENSE("GPL");
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h
index e0bae49535e1..dd09e56b6350 100644
--- a/include/linux/mfd/cros_ec.h
+++ b/include/linux/mfd/cros_ec.h
@@ -1,16 +1,8 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * ChromeOS EC multi-function device
+ * ChromeOS Embedded Controller multifunction device
  *
  * 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.
  */
 
 #ifndef __LINUX_MFD_CROS_EC_H