iio: cros_ec: Switch to SPDX identifier.
Adopt the SPDX license identifier headers to ease license compliance management. Also fix MODULE_LICENSE for cros_ec_accel_legacy to match the SPDX and boiler plate license. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Родитель
ad9cc622f1
Коммит
37aa055c41
|
@ -1,17 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* Driver for older Chrome OS EC accelerometer
|
* Driver for older Chrome OS EC accelerometer
|
||||||
*
|
*
|
||||||
* Copyright 2017 Google, Inc
|
* Copyright 2017 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.
|
|
||||||
*
|
|
||||||
* This driver uses the memory mapper cros-ec interface to communicate
|
* This driver uses the memory mapper cros-ec interface to communicate
|
||||||
* with the Chrome OS EC about accelerometer data.
|
* with the Chrome OS EC about accelerometer data.
|
||||||
* Accelerometer access is presented through iio sysfs.
|
* Accelerometer access is presented through iio sysfs.
|
||||||
|
@ -415,5 +407,5 @@ module_platform_driver(cros_ec_accel_platform_driver);
|
||||||
|
|
||||||
MODULE_DESCRIPTION("ChromeOS EC legacy accelerometer driver");
|
MODULE_DESCRIPTION("ChromeOS EC legacy accelerometer driver");
|
||||||
MODULE_AUTHOR("Gwendal Grignou <gwendal@chromium.org>");
|
MODULE_AUTHOR("Gwendal Grignou <gwendal@chromium.org>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_ALIAS("platform:" DRV_NAME);
|
MODULE_ALIAS("platform:" DRV_NAME);
|
||||||
|
|
|
@ -1,17 +1,9 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* cros_ec_sensors - Driver for Chrome OS Embedded Controller sensors.
|
* cros_ec_sensors - Driver for Chrome OS Embedded Controller sensors.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Google, Inc
|
* Copyright (C) 2016 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.
|
|
||||||
*
|
|
||||||
* This driver uses the cros-ec interface to communicate with the Chrome OS
|
* This driver uses the cros-ec interface to communicate with the Chrome OS
|
||||||
* EC about sensors data. Data access is presented through iio sysfs.
|
* EC about sensors data. Data access is presented through iio sysfs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* cros_ec_sensors_core - Common function for Chrome OS EC sensor driver.
|
* cros_ec_sensors_core - Common function for Chrome OS EC sensor driver.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Google, Inc
|
* Copyright (C) 2016 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* cros_ec_light_prox - Driver for light and prox sensors behing CrosEC.
|
* cros_ec_light_prox - Driver for light and prox sensors behing CrosEC.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Google, Inc
|
* Copyright (C) 2017 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* cros_ec_baro - Driver for barometer sensor behind CrosEC.
|
* cros_ec_baro - Driver for barometer sensor behind CrosEC.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Google, Inc
|
* Copyright (C) 2017 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче