summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-05-29 19:57:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 11:37:06 -0400
commit36edc93958e06dfc15b61d1cfa7f33929bc26fe4 (patch)
tree8b1dee618fd783fc609dc908752b728ee2903a1a
parent0fc479b1ad6358d2440faf79a43d422065b77dc0 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330
Based on 1 normalized pattern(s): this file is subject to the terms and conditions of version 2 of the gnu general public license see the file copying in the main directory of this archive for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 55 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190530000436.108941081@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/hwmon/max31722.c5
-rw-r--r--drivers/iio/accel/adxl345.h5
-rw-r--r--drivers/iio/accel/adxl345_core.c5
-rw-r--r--drivers/iio/accel/adxl345_i2c.c5
-rw-r--r--drivers/iio/accel/adxl345_spi.c5
-rw-r--r--drivers/iio/accel/bma180.c5
-rw-r--r--drivers/iio/accel/bma220_spi.c5
-rw-r--r--drivers/iio/accel/mma7660.c5
-rw-r--r--drivers/iio/accel/mxc6255.c5
-rw-r--r--drivers/iio/accel/stk8312.c5
-rw-r--r--drivers/iio/accel/stk8ba50.c5
-rw-r--r--drivers/iio/adc/max1118.c5
-rw-r--r--drivers/iio/adc/ti-adc0832.c5
-rw-r--r--drivers/iio/adc/ti-adc12138.c5
-rw-r--r--drivers/iio/adc/ti-ads1015.c5
-rw-r--r--drivers/iio/dac/mcp4725.c5
-rw-r--r--drivers/iio/humidity/am2315.c5
-rw-r--r--drivers/iio/humidity/si7005.c5
-rw-r--r--drivers/iio/imu/kmx61.c6
-rw-r--r--drivers/iio/light/adjd_s311.c5
-rw-r--r--drivers/iio/light/al3320a.c6
-rw-r--r--drivers/iio/light/apds9300.c5
-rw-r--r--drivers/iio/light/cm3323.c5
-rw-r--r--drivers/iio/light/isl29125.c5
-rw-r--r--drivers/iio/light/ltr501.c5
-rw-r--r--drivers/iio/light/max44000.c5
-rw-r--r--drivers/iio/light/rpr0521.c5
-rw-r--r--drivers/iio/light/si1145.c5
-rw-r--r--drivers/iio/light/stk3310.c5
-rw-r--r--drivers/iio/light/tcs3414.c5
-rw-r--r--drivers/iio/light/tcs3472.c5
-rw-r--r--drivers/iio/light/tsl4531.c5
-rw-r--r--drivers/iio/light/vcnl4000.c5
-rw-r--r--drivers/iio/light/veml6070.c5
-rw-r--r--drivers/iio/light/vl6180.c5
-rw-r--r--drivers/iio/light/zopt2201.c5
-rw-r--r--drivers/iio/magnetometer/bmc150_magn_spi.c5
-rw-r--r--drivers/iio/magnetometer/mag3110.c5
-rw-r--r--drivers/iio/magnetometer/mmc35240.c5
-rw-r--r--drivers/iio/pressure/hp206c.c5
-rw-r--r--drivers/iio/pressure/mpl115.c6
-rw-r--r--drivers/iio/pressure/mpl115.h5
-rw-r--r--drivers/iio/pressure/mpl115_i2c.c5
-rw-r--r--drivers/iio/pressure/mpl115_spi.c5
-rw-r--r--drivers/iio/pressure/mpl3115.c5
-rw-r--r--drivers/iio/pressure/t5403.c5
-rw-r--r--drivers/iio/proximity/rfd77402.c5
-rw-r--r--drivers/iio/proximity/srf08.c5
-rw-r--r--drivers/iio/temperature/mlx90614.c6
-rw-r--r--drivers/iio/temperature/tmp006.c5
-rw-r--r--drivers/iio/temperature/tmp007.c6
-rw-r--r--drivers/leds/leds-dac124s085.c5
-rw-r--r--drivers/leds/leds-is31fl319x.c6
-rw-r--r--drivers/leds/leds-pca955x.c5
-rw-r--r--drivers/leds/leds-pca963x.c5
55 files changed, 55 insertions, 226 deletions
diff --git a/drivers/hwmon/max31722.c b/drivers/hwmon/max31722.c
index 6d169b4271f7..062eceb7be0d 100644
--- a/drivers/hwmon/max31722.c
+++ b/drivers/hwmon/max31722.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * max31722 - hwmon driver for Maxim Integrated MAX31722/MAX31723 SPI 3 * max31722 - hwmon driver for Maxim Integrated MAX31722/MAX31723 SPI
3 * digital thermometer and thermostats. 4 * digital thermometer and thermostats.
4 * 5 *
5 * Copyright (c) 2016, Intel Corporation. 6 * Copyright (c) 2016, Intel Corporation.
6 *
7 * This file is subject to the terms and conditions of version 2 of
8 * the GNU General Public License. See the file COPYING in the main
9 * directory of this archive for more details.
10 */ 7 */
11 8
12#include <linux/acpi.h> 9#include <linux/acpi.h>
diff --git a/drivers/iio/accel/adxl345.h b/drivers/iio/accel/adxl345.h
index ccd63de7a55a..384497776b67 100644
--- a/drivers/iio/accel/adxl345.h
+++ b/drivers/iio/accel/adxl345.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * ADXL345 3-Axis Digital Accelerometer 3 * ADXL345 3-Axis Digital Accelerometer
3 * 4 *
4 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com> 5 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
5 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 */ 6 */
10 7
11#ifndef _ADXL345_H_ 8#ifndef _ADXL345_H_
diff --git a/drivers/iio/accel/adxl345_core.c b/drivers/iio/accel/adxl345_core.c
index f03ed00685ea..9c269799e6c1 100644
--- a/drivers/iio/accel/adxl345_core.c
+++ b/drivers/iio/accel/adxl345_core.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADXL345 3-Axis Digital Accelerometer IIO core driver 3 * ADXL345 3-Axis Digital Accelerometer IIO core driver
3 * 4 *
4 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com> 5 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf 7 * Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf
11 */ 8 */
12 9
diff --git a/drivers/iio/accel/adxl345_i2c.c b/drivers/iio/accel/adxl345_i2c.c
index f22f71315a0c..1561364ae296 100644
--- a/drivers/iio/accel/adxl345_i2c.c
+++ b/drivers/iio/accel/adxl345_i2c.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADXL345 3-Axis Digital Accelerometer I2C driver 3 * ADXL345 3-Axis Digital Accelerometer I2C driver
3 * 4 *
4 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com> 5 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * 7-bit I2C slave address: 0x1D (ALT ADDRESS pin tied to VDDIO) or 7 * 7-bit I2C slave address: 0x1D (ALT ADDRESS pin tied to VDDIO) or
11 * 0x53 (ALT ADDRESS pin grounded) 8 * 0x53 (ALT ADDRESS pin grounded)
12 */ 9 */
diff --git a/drivers/iio/accel/adxl345_spi.c b/drivers/iio/accel/adxl345_spi.c
index 67b7c66a8492..da4591c7ef23 100644
--- a/drivers/iio/accel/adxl345_spi.c
+++ b/drivers/iio/accel/adxl345_spi.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADXL345 3-Axis Digital Accelerometer SPI driver 3 * ADXL345 3-Axis Digital Accelerometer SPI driver
3 * 4 *
4 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com> 5 * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
5 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 */ 6 */
10 7
11#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c
index f9720a1e8a7c..1574e4604a4f 100644
--- a/drivers/iio/accel/bma180.c
+++ b/drivers/iio/accel/bma180.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * bma180.c - IIO driver for Bosch BMA180 triaxial acceleration sensor 3 * bma180.c - IIO driver for Bosch BMA180 triaxial acceleration sensor
3 * 4 *
@@ -5,10 +6,6 @@
5 * 6 *
6 * Support for BMA250 (c) Peter Meerwald <pmeerw@pmeerw.net> 7 * Support for BMA250 (c) Peter Meerwald <pmeerw@pmeerw.net>
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * SPI is not supported by driver 9 * SPI is not supported by driver
13 * BMA180: 7-bit I2C slave address 0x40 or 0x41 10 * BMA180: 7-bit I2C slave address 0x40 or 0x41
14 * BMA250: 7-bit I2C slave address 0x18 or 0x19 11 * BMA250: 7-bit I2C slave address 0x18 or 0x19
diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio/accel/bma220_spi.c
index e25d91c017ed..cae905039cb6 100644
--- a/drivers/iio/accel/bma220_spi.c
+++ b/drivers/iio/accel/bma220_spi.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * BMA220 Digital triaxial acceleration sensor driver 3 * BMA220 Digital triaxial acceleration sensor driver
3 * 4 *
4 * Copyright (c) 2016, Intel Corporation. 5 * Copyright (c) 2016, Intel Corporation.
5 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 */ 6 */
10 7
11#include <linux/acpi.h> 8#include <linux/acpi.h>
diff --git a/drivers/iio/accel/mma7660.c b/drivers/iio/accel/mma7660.c
index f1a13724efb3..7faf6d8657ae 100644
--- a/drivers/iio/accel/mma7660.c
+++ b/drivers/iio/accel/mma7660.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * Freescale MMA7660FC 3-Axis Accelerometer 3 * Freescale MMA7660FC 3-Axis Accelerometer
3 * 4 *
4 * Copyright (c) 2016, Intel Corporation. 5 * Copyright (c) 2016, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for Freescale MMA7660FC; 7-bit I2C address: 0x4c. 7 * IIO driver for Freescale MMA7660FC; 7-bit I2C address: 0x4c.
11 */ 8 */
12 9
diff --git a/drivers/iio/accel/mxc6255.c b/drivers/iio/accel/mxc6255.c
index ddd50d1781c5..f532f8643aa4 100644
--- a/drivers/iio/accel/mxc6255.c
+++ b/drivers/iio/accel/mxc6255.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MXC6255 - MEMSIC orientation sensing accelerometer 3 * MXC6255 - MEMSIC orientation sensing accelerometer
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for MXC6255 (7-bit I2C slave address 0x15). 7 * IIO driver for MXC6255 (7-bit I2C slave address 0x15).
11 */ 8 */
12 9
diff --git a/drivers/iio/accel/stk8312.c b/drivers/iio/accel/stk8312.c
index cacc0da2f874..58c160ccdee7 100644
--- a/drivers/iio/accel/stk8312.c
+++ b/drivers/iio/accel/stk8312.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * Sensortek STK8312 3-Axis Accelerometer 3 * Sensortek STK8312 3-Axis Accelerometer
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for STK8312; 7-bit I2C address: 0x3D. 7 * IIO driver for STK8312; 7-bit I2C address: 0x3D.
11 */ 8 */
12 9
diff --git a/drivers/iio/accel/stk8ba50.c b/drivers/iio/accel/stk8ba50.c
index 576b6b140f08..c70ddec29eb4 100644
--- a/drivers/iio/accel/stk8ba50.c
+++ b/drivers/iio/accel/stk8ba50.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * Sensortek STK8BA50 3-Axis Accelerometer 3 * Sensortek STK8BA50 3-Axis Accelerometer
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * STK8BA50 7-bit I2C address: 0x18. 7 * STK8BA50 7-bit I2C address: 0x18.
11 */ 8 */
12 9
diff --git a/drivers/iio/adc/max1118.c b/drivers/iio/adc/max1118.c
index 49db9e9ae625..3b6f3b9a6c5b 100644
--- a/drivers/iio/adc/max1118.c
+++ b/drivers/iio/adc/max1118.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs driver 3 * MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs driver
3 * 4 *
4 * Copyright (c) 2017 Akinobu Mita <akinobu.mita@gmail.com> 5 * Copyright (c) 2017 Akinobu Mita <akinobu.mita@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1117-MAX1119.pdf 7 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1117-MAX1119.pdf
11 * 8 *
12 * SPI interface connections 9 * SPI interface connections
diff --git a/drivers/iio/adc/ti-adc0832.c b/drivers/iio/adc/ti-adc0832.c
index 188dae705bf7..6ea39f4bbb37 100644
--- a/drivers/iio/adc/ti-adc0832.c
+++ b/drivers/iio/adc/ti-adc0832.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADC0831/ADC0832/ADC0834/ADC0838 8-bit ADC driver 3 * ADC0831/ADC0832/ADC0834/ADC0838 8-bit ADC driver
3 * 4 *
4 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com> 5 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Datasheet: http://www.ti.com/lit/ds/symlink/adc0832-n.pdf 7 * Datasheet: http://www.ti.com/lit/ds/symlink/adc0832-n.pdf
11 */ 8 */
12 9
diff --git a/drivers/iio/adc/ti-adc12138.c b/drivers/iio/adc/ti-adc12138.c
index 703d68ae96b7..68a9dcb8faa2 100644
--- a/drivers/iio/adc/ti-adc12138.c
+++ b/drivers/iio/adc/ti-adc12138.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADC12130/ADC12132/ADC12138 12-bit plus sign ADC driver 3 * ADC12130/ADC12132/ADC12138 12-bit plus sign ADC driver
3 * 4 *
4 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com> 5 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Datasheet: http://www.ti.com/lit/ds/symlink/adc12138.pdf 7 * Datasheet: http://www.ti.com/lit/ds/symlink/adc12138.pdf
11 */ 8 */
12 9
diff --git a/drivers/iio/adc/ti-ads1015.c b/drivers/iio/adc/ti-ads1015.c
index 6a114dcb4a3a..a550b132cfb7 100644
--- a/drivers/iio/adc/ti-ads1015.c
+++ b/drivers/iio/adc/ti-ads1015.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADS1015 - Texas Instruments Analog-to-Digital Converter 3 * ADS1015 - Texas Instruments Analog-to-Digital Converter
3 * 4 *
4 * Copyright (c) 2016, Intel Corporation. 5 * Copyright (c) 2016, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for ADS1015 ADC 7-bit I2C slave address: 7 * IIO driver for ADS1015 ADC 7-bit I2C slave address:
11 * * 0x48 - ADDR connected to Ground 8 * * 0x48 - ADDR connected to Ground
12 * * 0x49 - ADDR connected to Vdd 9 * * 0x49 - ADDR connected to Vdd
diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c
index c701a45469f6..ed455e801e80 100644
--- a/drivers/iio/dac/mcp4725.c
+++ b/drivers/iio/dac/mcp4725.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mcp4725.c - Support for Microchip MCP4725/6 3 * mcp4725.c - Support for Microchip MCP4725/6
3 * 4 *
@@ -5,10 +6,6 @@
5 * 6 *
6 * Based on max517 by Roland Stigge <stigge@antcom.de> 7 * Based on max517 by Roland Stigge <stigge@antcom.de>
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * driver for the Microchip I2C 12-bit digital-to-analog converter (DAC) 9 * driver for the Microchip I2C 12-bit digital-to-analog converter (DAC)
13 * (7-bit I2C slave address 0x60, the three LSBs can be configured in 10 * (7-bit I2C slave address 0x60, the three LSBs can be configured in
14 * hardware) 11 * hardware)
diff --git a/drivers/iio/humidity/am2315.c b/drivers/iio/humidity/am2315.c
index 7d8669dc6547..f18da7859229 100644
--- a/drivers/iio/humidity/am2315.c
+++ b/drivers/iio/humidity/am2315.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * Aosong AM2315 relative humidity and temperature 3 * Aosong AM2315 relative humidity and temperature
3 * 4 *
4 * Copyright (c) 2016, Intel Corporation. 5 * Copyright (c) 2016, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * 7-bit I2C address: 0x5C. 7 * 7-bit I2C address: 0x5C.
11 */ 8 */
12 9
diff --git a/drivers/iio/humidity/si7005.c b/drivers/iio/humidity/si7005.c
index 1fd19f035a5d..d5aef0bfef01 100644
--- a/drivers/iio/humidity/si7005.c
+++ b/drivers/iio/humidity/si7005.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * si7005.c - Support for Silabs Si7005 humidity and temperature sensor 3 * si7005.c - Support for Silabs Si7005 humidity and temperature sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * (7-bit I2C slave address 0x40) 7 * (7-bit I2C slave address 0x40)
11 * 8 *
12 * TODO: heater, fast mode, processed mode (temp. / linearity compensation) 9 * TODO: heater, fast mode, processed mode (temp. / linearity compensation)
diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c
index 44b3f5397343..e67466100aff 100644
--- a/drivers/iio/imu/kmx61.c
+++ b/drivers/iio/imu/kmx61.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * KMX61 - Kionix 6-axis Accelerometer/Magnetometer 3 * KMX61 - Kionix 6-axis Accelerometer/Magnetometer
3 * 4 *
4 * Copyright (c) 2014, Intel Corporation. 5 * Copyright (c) 2014, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for KMX61 (7-bit I2C slave address 0x0E or 0x0F). 7 * IIO driver for KMX61 (7-bit I2C slave address 0x0E or 0x0F).
11 *
12 */ 8 */
13 9
14#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/light/adjd_s311.c b/drivers/iio/light/adjd_s311.c
index e45bb6a277c2..d3269cd44fb5 100644
--- a/drivers/iio/light/adjd_s311.c
+++ b/drivers/iio/light/adjd_s311.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * adjd_s311.c - Support for ADJD-S311-CR999 digital color sensor 3 * adjd_s311.c - Support for ADJD-S311-CR999 digital color sensor
3 * 4 *
4 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * driver for ADJD-S311-CR999 digital color sensor (10-bit channels for 7 * driver for ADJD-S311-CR999 digital color sensor (10-bit channels for
11 * red, green, blue, clear); 7-bit I2C slave address 0x74 8 * red, green, blue, clear); 7-bit I2C slave address 0x74
12 * 9 *
diff --git a/drivers/iio/light/al3320a.c b/drivers/iio/light/al3320a.c
index 66623facea9a..a21aa99e74e4 100644
--- a/drivers/iio/light/al3320a.c
+++ b/drivers/iio/light/al3320a.c
@@ -1,16 +1,12 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AL3320A - Dyna Image Ambient Light Sensor 3 * AL3320A - Dyna Image Ambient Light Sensor
3 * 4 *
4 * Copyright (c) 2014, Intel Corporation. 5 * Copyright (c) 2014, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for AL3320A (7-bit I2C slave address 0x1C). 7 * IIO driver for AL3320A (7-bit I2C slave address 0x1C).
11 * 8 *
12 * TODO: interrupt support, thresholds 9 * TODO: interrupt support, thresholds
13 *
14 */ 10 */
15 11
16#include <linux/module.h> 12#include <linux/module.h>
diff --git a/drivers/iio/light/apds9300.c b/drivers/iio/light/apds9300.c
index 5c15736fb93e..856b6c468dea 100644
--- a/drivers/iio/light/apds9300.c
+++ b/drivers/iio/light/apds9300.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * apds9300.c - IIO driver for Avago APDS9300 ambient light sensor 3 * apds9300.c - IIO driver for Avago APDS9300 ambient light sensor
3 * 4 *
4 * Copyright 2013 Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> 5 * Copyright 2013 Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
5 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 */ 6 */
10 7
11#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/iio/light/cm3323.c b/drivers/iio/light/cm3323.c
index 83b08b6dc60f..50f3438c2b49 100644
--- a/drivers/iio/light/cm3323.c
+++ b/drivers/iio/light/cm3323.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * CM3323 - Capella Color Light Sensor 3 * CM3323 - Capella Color Light Sensor
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for CM3323 (7-bit I2C slave address 0x10) 7 * IIO driver for CM3323 (7-bit I2C slave address 0x10)
11 * 8 *
12 * TODO: calibscale to correct the lens factor 9 * TODO: calibscale to correct the lens factor
diff --git a/drivers/iio/light/isl29125.c b/drivers/iio/light/isl29125.c
index ed38edcd5efe..e37894f0ae0b 100644
--- a/drivers/iio/light/isl29125.c
+++ b/drivers/iio/light/isl29125.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * isl29125.c - Support for Intersil ISL29125 RGB light sensor 3 * isl29125.c - Support for Intersil ISL29125 RGB light sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * RGB light sensor with 16-bit channels for red, green, blue); 7 * RGB light sensor with 16-bit channels for red, green, blue);
11 * 7-bit I2C slave address 0x44 8 * 7-bit I2C slave address 0x44
12 * 9 *
diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/light/ltr501.c
index 830a2d45aa4d..71f99d2a22c1 100644
--- a/drivers/iio/light/ltr501.c
+++ b/drivers/iio/light/ltr501.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ltr501.c - Support for Lite-On LTR501 ambient light and proximity sensor 3 * ltr501.c - Support for Lite-On LTR501 ambient light and proximity sensor
3 * 4 *
4 * Copyright 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * 7-bit I2C slave address 0x23 7 * 7-bit I2C slave address 0x23
11 * 8 *
12 * TODO: IR LED characteristics 9 * TODO: IR LED characteristics
diff --git a/drivers/iio/light/max44000.c b/drivers/iio/light/max44000.c
index d3fb460cfbdc..d6d8007ba430 100644
--- a/drivers/iio/light/max44000.c
+++ b/drivers/iio/light/max44000.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MAX44000 Ambient and Infrared Proximity Sensor 3 * MAX44000 Ambient and Infrared Proximity Sensor
3 * 4 *
4 * Copyright (c) 2016, Intel Corporation. 5 * Copyright (c) 2016, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Data sheet: https://datasheets.maximintegrated.com/en/ds/MAX44000.pdf 7 * Data sheet: https://datasheets.maximintegrated.com/en/ds/MAX44000.pdf
11 * 8 *
12 * 7-bit I2C slave address 0x4a 9 * 7-bit I2C slave address 0x4a
diff --git a/drivers/iio/light/rpr0521.c b/drivers/iio/light/rpr0521.c
index ffe9ce798ea2..a0a7aeae5a82 100644
--- a/drivers/iio/light/rpr0521.c
+++ b/drivers/iio/light/rpr0521.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * RPR-0521 ROHM Ambient Light and Proximity Sensor 3 * RPR-0521 ROHM Ambient Light and Proximity Sensor
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for RPR-0521RS (7-bit I2C slave address 0x38). 7 * IIO driver for RPR-0521RS (7-bit I2C slave address 0x38).
11 * 8 *
12 * TODO: illuminance channel 9 * TODO: illuminance channel
diff --git a/drivers/iio/light/si1145.c b/drivers/iio/light/si1145.c
index 76f16f9c7616..6579d2418814 100644
--- a/drivers/iio/light/si1145.c
+++ b/drivers/iio/light/si1145.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * si1145.c - Support for Silabs SI1132 and SI1141/2/3/5/6/7 combined ambient 3 * si1145.c - Support for Silabs SI1132 and SI1141/2/3/5/6/7 combined ambient
3 * light, UV index and proximity sensors 4 * light, UV index and proximity sensors
@@ -5,10 +6,6 @@
5 * Copyright 2014-16 Peter Meerwald-Stadler <pmeerw@pmeerw.net> 6 * Copyright 2014-16 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
6 * Copyright 2016 Crestez Dan Leonard <leonard.crestez@intel.com> 7 * Copyright 2016 Crestez Dan Leonard <leonard.crestez@intel.com>
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * SI1132 (7-bit I2C slave address 0x60) 9 * SI1132 (7-bit I2C slave address 0x60)
13 * SI1141/2/3 (7-bit I2C slave address 0x5a) 10 * SI1141/2/3 (7-bit I2C slave address 0x5a)
14 * SI1145/6/6 (7-bit I2C slave address 0x60) 11 * SI1145/6/6 (7-bit I2C slave address 0x60)
diff --git a/drivers/iio/light/stk3310.c b/drivers/iio/light/stk3310.c
index 6e2a169da950..eff7ac9ae669 100644
--- a/drivers/iio/light/stk3310.c
+++ b/drivers/iio/light/stk3310.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * Sensortek STK3310/STK3311 Ambient Light and Proximity Sensor 3 * Sensortek STK3310/STK3311 Ambient Light and Proximity Sensor
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for STK3310/STK3311. 7-bit I2C address: 0x48. 7 * IIO driver for STK3310/STK3311. 7-bit I2C address: 0x48.
11 */ 8 */
12 9
diff --git a/drivers/iio/light/tcs3414.c b/drivers/iio/light/tcs3414.c
index 205e5659ce6b..7c0291c5fe76 100644
--- a/drivers/iio/light/tcs3414.c
+++ b/drivers/iio/light/tcs3414.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tcs3414.c - Support for TAOS TCS3414 digital color sensor 3 * tcs3414.c - Support for TAOS TCS3414 digital color sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Digital color sensor with 16-bit channels for red, green, blue, clear); 7 * Digital color sensor with 16-bit channels for red, green, blue, clear);
11 * 7-bit I2C slave address 0x39 (TCS3414) or 0x29, 0x49, 0x59 (TCS3413, 8 * 7-bit I2C slave address 0x39 (TCS3414) or 0x29, 0x49, 0x59 (TCS3413,
12 * TCS3415, TCS3416, resp.) 9 * TCS3415, TCS3416, resp.)
diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c
index e7923b514d7a..12ad34441010 100644
--- a/drivers/iio/light/tcs3472.c
+++ b/drivers/iio/light/tcs3472.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tcs3472.c - Support for TAOS TCS3472 color light-to-digital converter 3 * tcs3472.c - Support for TAOS TCS3472 color light-to-digital converter
3 * 4 *
4 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Color light sensor with 16-bit channels for red, green, blue, clear); 7 * Color light sensor with 16-bit channels for red, green, blue, clear);
11 * 7-bit I2C slave address 0x39 (TCS34721, TCS34723) or 0x29 (TCS34725, 8 * 7-bit I2C slave address 0x39 (TCS34721, TCS34723) or 0x29 (TCS34725,
12 * TCS34727) 9 * TCS34727)
diff --git a/drivers/iio/light/tsl4531.c b/drivers/iio/light/tsl4531.c
index 06171cb76e23..0dfc664205c7 100644
--- a/drivers/iio/light/tsl4531.c
+++ b/drivers/iio/light/tsl4531.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tsl4531.c - Support for TAOS TSL4531 ambient light sensor 3 * tsl4531.c - Support for TAOS TSL4531 ambient light sensor
3 * 4 *
4 * Copyright 2013 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright 2013 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for the TSL4531x family 7 * IIO driver for the TSL4531x family
11 * TSL45311/TSL45313: 7-bit I2C slave address 0x39 8 * TSL45311/TSL45313: 7-bit I2C slave address 0x39
12 * TSL45315/TSL45317: 7-bit I2C slave address 0x29 9 * TSL45315/TSL45317: 7-bit I2C slave address 0x29
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c
index b19e6559b980..51421ac32517 100644
--- a/drivers/iio/light/vcnl4000.c
+++ b/drivers/iio/light/vcnl4000.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * vcnl4000.c - Support for Vishay VCNL4000/4010/4020/4040/4200 combined ambient 3 * vcnl4000.c - Support for Vishay VCNL4000/4010/4020/4040/4200 combined ambient
3 * light and proximity sensor 4 * light and proximity sensor
@@ -5,10 +6,6 @@
5 * Copyright 2012 Peter Meerwald <pmeerw@pmeerw.net> 6 * Copyright 2012 Peter Meerwald <pmeerw@pmeerw.net>
6 * Copyright 2019 Pursim SPC 7 * Copyright 2019 Pursim SPC
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * IIO driver for: 9 * IIO driver for:
13 * VCNL4000/10/20 (7-bit I2C slave address 0x13) 10 * VCNL4000/10/20 (7-bit I2C slave address 0x13)
14 * VCNL4040 (7-bit I2C slave address 0x60) 11 * VCNL4040 (7-bit I2C slave address 0x60)
diff --git a/drivers/iio/light/veml6070.c b/drivers/iio/light/veml6070.c
index f4bf3c5b5eda..a3138e1b5803 100644
--- a/drivers/iio/light/veml6070.c
+++ b/drivers/iio/light/veml6070.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * veml6070.c - Support for Vishay VEML6070 UV A light sensor 3 * veml6070.c - Support for Vishay VEML6070 UV A light sensor
3 * 4 *
4 * Copyright 2016 Peter Meerwald-Stadler <pmeerw@pmeerw.net> 5 * Copyright 2016 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39) 7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39)
11 * 8 *
12 * TODO: integration time, ACK signal 9 * TODO: integration time, ACK signal
diff --git a/drivers/iio/light/vl6180.c b/drivers/iio/light/vl6180.c
index 192c77ef3608..d9533a76b8f6 100644
--- a/drivers/iio/light/vl6180.c
+++ b/drivers/iio/light/vl6180.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * vl6180.c - Support for STMicroelectronics VL6180 ALS, range and proximity 3 * vl6180.c - Support for STMicroelectronics VL6180 ALS, range and proximity
3 * sensor 4 * sensor
@@ -5,10 +6,6 @@
5 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net> 6 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
6 * Copyright 2017 Manivannan Sadhasivam <manivannanece23@gmail.com> 7 * Copyright 2017 Manivannan Sadhasivam <manivannanece23@gmail.com>
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * IIO driver for VL6180 (7-bit I2C slave address 0x29) 9 * IIO driver for VL6180 (7-bit I2C slave address 0x29)
13 * 10 *
14 * Range: 0 to 100mm 11 * Range: 0 to 100mm
diff --git a/drivers/iio/light/zopt2201.c b/drivers/iio/light/zopt2201.c
index 041ac9effdb0..5f54f39e7a4c 100644
--- a/drivers/iio/light/zopt2201.c
+++ b/drivers/iio/light/zopt2201.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * zopt2201.c - Support for IDT ZOPT2201 ambient light and UV B sensor 3 * zopt2201.c - Support for IDT ZOPT2201 ambient light and UV B sensor
3 * 4 *
4 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net> 5 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Datasheet: https://www.idt.com/document/dst/zopt2201-datasheet 7 * Datasheet: https://www.idt.com/document/dst/zopt2201-datasheet
11 * 7-bit I2C slave addresses 0x53 (default) or 0x52 (programmed) 8 * 7-bit I2C slave addresses 0x53 (default) or 0x52 (programmed)
12 * 9 *
diff --git a/drivers/iio/magnetometer/bmc150_magn_spi.c b/drivers/iio/magnetometer/bmc150_magn_spi.c
index 7d4152d4d01e..ed9be0490d77 100644
--- a/drivers/iio/magnetometer/bmc150_magn_spi.c
+++ b/drivers/iio/magnetometer/bmc150_magn_spi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * 3-axis magnetometer driver support following SPI Bosch-Sensortec chips: 3 * 3-axis magnetometer driver support following SPI Bosch-Sensortec chips:
3 * - BMC150 4 * - BMC150
@@ -5,10 +6,6 @@
5 * - BMM150 6 * - BMM150
6 * 7 *
7 * Copyright (c) 2016, Intel Corporation. 8 * Copyright (c) 2016, Intel Corporation.
8 *
9 * This file is subject to the terms and conditions of version 2 of
10 * the GNU General Public License. See the file COPYING in the main
11 * directory of this archive for more details.
12 */ 9 */
13#include <linux/module.h> 10#include <linux/module.h>
14#include <linux/mod_devicetable.h> 11#include <linux/mod_devicetable.h>
diff --git a/drivers/iio/magnetometer/mag3110.c b/drivers/iio/magnetometer/mag3110.c
index dd990cdb04a8..fb16cfdd6fa6 100644
--- a/drivers/iio/magnetometer/mag3110.c
+++ b/drivers/iio/magnetometer/mag3110.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mag3110.c - Support for Freescale MAG3110 magnetometer sensor 3 * mag3110.c - Support for Freescale MAG3110 magnetometer sensor
3 * 4 *
4 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * (7-bit I2C slave address 0x0e) 7 * (7-bit I2C slave address 0x0e)
11 * 8 *
12 * TODO: irq, user offset, oversampling, continuous mode 9 * TODO: irq, user offset, oversampling, continuous mode
diff --git a/drivers/iio/magnetometer/mmc35240.c b/drivers/iio/magnetometer/mmc35240.c
index 6b640c6338c9..7de10281ad9e 100644
--- a/drivers/iio/magnetometer/mmc35240.c
+++ b/drivers/iio/magnetometer/mmc35240.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MMC35240 - MEMSIC 3-axis Magnetic Sensor 3 * MMC35240 - MEMSIC 3-axis Magnetic Sensor
3 * 4 *
4 * Copyright (c) 2015, Intel Corporation. 5 * Copyright (c) 2015, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * IIO driver for MMC35240 (7-bit I2C slave address 0x30). 7 * IIO driver for MMC35240 (7-bit I2C slave address 0x30).
11 * 8 *
12 * TODO: offset, ACPI, continuous measurement mode, PM 9 * TODO: offset, ACPI, continuous measurement mode, PM
diff --git a/drivers/iio/pressure/hp206c.c b/drivers/iio/pressure/hp206c.c
index c38c19678cf6..3ac3632e7242 100644
--- a/drivers/iio/pressure/hp206c.c
+++ b/drivers/iio/pressure/hp206c.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * hp206c.c - HOPERF HP206C precision barometer and altimeter sensor 3 * hp206c.c - HOPERF HP206C precision barometer and altimeter sensor
3 * 4 *
4 * Copyright (c) 2016, Intel Corporation. 5 * Copyright (c) 2016, Intel Corporation.
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * (7-bit I2C slave address 0x76) 7 * (7-bit I2C slave address 0x76)
11 * 8 *
12 * Datasheet: 9 * Datasheet:
diff --git a/drivers/iio/pressure/mpl115.c b/drivers/iio/pressure/mpl115.c
index ab4786d0102b..ca81a3dc5646 100644
--- a/drivers/iio/pressure/mpl115.c
+++ b/drivers/iio/pressure/mpl115.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mpl115.c - Support for Freescale MPL115A pressure/temperature sensor 3 * mpl115.c - Support for Freescale MPL115A pressure/temperature sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * TODO: shutdown pin 7 * TODO: shutdown pin
11 *
12 */ 8 */
13 9
14#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/pressure/mpl115.h b/drivers/iio/pressure/mpl115.h
index 01b652774dc3..57d55eb8e661 100644
--- a/drivers/iio/pressure/mpl115.h
+++ b/drivers/iio/pressure/mpl115.h
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Freescale MPL115A pressure/temperature sensor 3 * Freescale MPL115A pressure/temperature sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com> 6 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
6 *
7 * This file is subject to the terms and conditions of version 2 of
8 * the GNU General Public License. See the file COPYING in the main
9 * directory of this archive for more details.
10 */ 7 */
11 8
12#ifndef _MPL115_H_ 9#ifndef _MPL115_H_
diff --git a/drivers/iio/pressure/mpl115_i2c.c b/drivers/iio/pressure/mpl115_i2c.c
index 1a29be462f6e..ac1f12bcb65e 100644
--- a/drivers/iio/pressure/mpl115_i2c.c
+++ b/drivers/iio/pressure/mpl115_i2c.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Freescale MPL115A2 pressure/temperature sensor 3 * Freescale MPL115A2 pressure/temperature sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * (7-bit I2C slave address 0x60) 7 * (7-bit I2C slave address 0x60)
11 * 8 *
12 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A2.pdf 9 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A2.pdf
diff --git a/drivers/iio/pressure/mpl115_spi.c b/drivers/iio/pressure/mpl115_spi.c
index 9ebf55f5b3aa..4d064f98f56a 100644
--- a/drivers/iio/pressure/mpl115_spi.c
+++ b/drivers/iio/pressure/mpl115_spi.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Freescale MPL115A1 pressure/temperature sensor 3 * Freescale MPL115A1 pressure/temperature sensor
3 * 4 *
4 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com> 5 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A1.pdf 7 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A1.pdf
11 */ 8 */
12 9
diff --git a/drivers/iio/pressure/mpl3115.c b/drivers/iio/pressure/mpl3115.c
index 7537547fb7ee..d066f3c5a8a6 100644
--- a/drivers/iio/pressure/mpl3115.c
+++ b/drivers/iio/pressure/mpl3115.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mpl3115.c - Support for Freescale MPL3115A2 pressure/temperature sensor 3 * mpl3115.c - Support for Freescale MPL3115A2 pressure/temperature sensor
3 * 4 *
4 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * (7-bit I2C slave address 0x60) 7 * (7-bit I2C slave address 0x60)
11 * 8 *
12 * TODO: FIFO buffer, altimeter mode, oversampling, continuous mode, 9 * TODO: FIFO buffer, altimeter mode, oversampling, continuous mode,
diff --git a/drivers/iio/pressure/t5403.c b/drivers/iio/pressure/t5403.c
index 92c00f603b1d..22abd28071b7 100644
--- a/drivers/iio/pressure/t5403.c
+++ b/drivers/iio/pressure/t5403.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * t5403.c - Support for EPCOS T5403 pressure/temperature sensor 3 * t5403.c - Support for EPCOS T5403 pressure/temperature sensor
3 * 4 *
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * (7-bit I2C slave address 0x77) 7 * (7-bit I2C slave address 0x77)
11 * 8 *
12 * TODO: end-of-conversion irq 9 * TODO: end-of-conversion irq
diff --git a/drivers/iio/proximity/rfd77402.c b/drivers/iio/proximity/rfd77402.c
index fe29fb1a19a6..36480c0100a7 100644
--- a/drivers/iio/proximity/rfd77402.c
+++ b/drivers/iio/proximity/rfd77402.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * rfd77402.c - Support for RF Digital RFD77402 Time-of-Flight (distance) sensor 3 * rfd77402.c - Support for RF Digital RFD77402 Time-of-Flight (distance) sensor
3 * 4 *
4 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net> 5 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * 7-bit I2C slave address 0x4c 7 * 7-bit I2C slave address 0x4c
11 * 8 *
12 * TODO: interrupt 9 * TODO: interrupt
diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c
index f2bf783f829a..b23ce446b7be 100644
--- a/drivers/iio/proximity/srf08.c
+++ b/drivers/iio/proximity/srf08.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * srf08.c - Support for Devantech SRFxx ultrasonic ranger 3 * srf08.c - Support for Devantech SRFxx ultrasonic ranger
3 * with i2c interface 4 * with i2c interface
@@ -5,10 +6,6 @@
5 * 6 *
6 * Copyright (c) 2016, 2017 Andreas Klinger <ak@it-klinger.de> 7 * Copyright (c) 2016, 2017 Andreas Klinger <ak@it-klinger.de>
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * For details about the device see: 9 * For details about the device see:
13 * http://www.robot-electronics.co.uk/htm/srf08tech.html 10 * http://www.robot-electronics.co.uk/htm/srf08tech.html
14 * http://www.robot-electronics.co.uk/htm/srf10tech.htm 11 * http://www.robot-electronics.co.uk/htm/srf10tech.htm
diff --git a/drivers/iio/temperature/mlx90614.c b/drivers/iio/temperature/mlx90614.c
index 13a4cec64ea8..b7c56ddf884f 100644
--- a/drivers/iio/temperature/mlx90614.c
+++ b/drivers/iio/temperature/mlx90614.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mlx90614.c - Support for Melexis MLX90614 contactless IR temperature sensor 3 * mlx90614.c - Support for Melexis MLX90614 contactless IR temperature sensor
3 * 4 *
@@ -5,10 +6,6 @@
5 * Copyright (c) 2015 Essensium NV 6 * Copyright (c) 2015 Essensium NV
6 * Copyright (c) 2015 Melexis 7 * Copyright (c) 2015 Melexis
7 * 8 *
8 * This file is subject to the terms and conditions of version 2 of
9 * the GNU General Public License. See the file COPYING in the main
10 * directory of this archive for more details.
11 *
12 * Driver for the Melexis MLX90614 I2C 16-bit IR thermopile sensor 9 * Driver for the Melexis MLX90614 I2C 16-bit IR thermopile sensor
13 * 10 *
14 * (7-bit I2C slave address 0x5a, 100KHz bus speed only!) 11 * (7-bit I2C slave address 0x5a, 100KHz bus speed only!)
@@ -20,7 +17,6 @@
20 * i2c adapter is locked since it cannot be used by other clients. The SCL line 17 * i2c adapter is locked since it cannot be used by other clients. The SCL line
21 * always has a pull-up so we do not need an extra GPIO to drive it high. If 18 * always has a pull-up so we do not need an extra GPIO to drive it high. If
22 * the "wakeup" GPIO is not given, power management will be disabled. 19 * the "wakeup" GPIO is not given, power management will be disabled.
23 *
24 */ 20 */
25 21
26#include <linux/err.h> 22#include <linux/err.h>
diff --git a/drivers/iio/temperature/tmp006.c b/drivers/iio/temperature/tmp006.c
index a9b5b7cc7836..cc45d8345eb9 100644
--- a/drivers/iio/temperature/tmp006.c
+++ b/drivers/iio/temperature/tmp006.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tmp006.c - Support for TI TMP006 IR thermopile sensor 3 * tmp006.c - Support for TI TMP006 IR thermopile sensor
3 * 4 *
4 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net> 5 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor 7 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor
11 * 8 *
12 * (7-bit I2C slave address 0x40, changeable via ADR pins) 9 * (7-bit I2C slave address 0x40, changeable via ADR pins)
diff --git a/drivers/iio/temperature/tmp007.c b/drivers/iio/temperature/tmp007.c
index 0e3f2d432e10..7df234d96f94 100644
--- a/drivers/iio/temperature/tmp007.c
+++ b/drivers/iio/temperature/tmp007.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tmp007.c - Support for TI TMP007 IR thermopile sensor with integrated math engine 3 * tmp007.c - Support for TI TMP007 IR thermopile sensor with integrated math engine
3 * 4 *
4 * Copyright (c) 2017 Manivannan Sadhasivam <manivannanece23@gmail.com> 5 * Copyright (c) 2017 Manivannan Sadhasivam <manivannanece23@gmail.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor 7 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor
11 * 8 *
12 * (7-bit I2C slave address (0x40 - 0x47), changeable via ADR pins) 9 * (7-bit I2C slave address (0x40 - 0x47), changeable via ADR pins)
@@ -15,7 +12,6 @@
15 * 1. This driver assumes that the sensor has been calibrated beforehand 12 * 1. This driver assumes that the sensor has been calibrated beforehand
16 * 2. Limit threshold events are enabled at the start 13 * 2. Limit threshold events are enabled at the start
17 * 3. Operating mode: INT 14 * 3. Operating mode: INT
18 *
19 */ 15 */
20 16
21#include <linux/err.h> 17#include <linux/err.h>
diff --git a/drivers/leds/leds-dac124s085.c b/drivers/leds/leds-dac124s085.c
index 5a5a86d5f1f5..20dc9b9d7dea 100644
--- a/drivers/leds/leds-dac124s085.c
+++ b/drivers/leds/leds-dac124s085.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2008 3 * Copyright 2008
3 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> 4 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
4 * 5 *
5 * This file is subject to the terms and conditions of version 2 of
6 * the GNU General Public License. See the file COPYING in the main
7 * directory of this archive for more details.
8 *
9 * LED driver for the DAC124S085 SPI DAC 6 * LED driver for the DAC124S085 SPI DAC
10 */ 7 */
11 8
diff --git a/drivers/leds/leds-is31fl319x.c b/drivers/leds/leds-is31fl319x.c
index f123309597e4..2d077b8edd0e 100644
--- a/drivers/leds/leds-is31fl319x.c
+++ b/drivers/leds/leds-is31fl319x.c
@@ -1,15 +1,11 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2015-16 Golden Delicious Computers 3 * Copyright 2015-16 Golden Delicious Computers
3 * 4 *
4 * Author: Nikolaus Schaller <hns@goldelico.com> 5 * Author: Nikolaus Schaller <hns@goldelico.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * LED driver for the IS31FL319{0,1,3,6,9} to drive 1, 3, 6 or 9 light 7 * LED driver for the IS31FL319{0,1,3,6,9} to drive 1, 3, 6 or 9 light
11 * effect LEDs. 8 * effect LEDs.
12 *
13 */ 9 */
14 10
15#include <linux/err.h> 11#include <linux/err.h>
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c
index a9f5dad55956..c2bc8f569760 100644
--- a/drivers/leds/leds-pca955x.c
+++ b/drivers/leds/leds-pca955x.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2007-2008 Extreme Engineering Solutions, Inc. 3 * Copyright 2007-2008 Extreme Engineering Solutions, Inc.
3 * 4 *
4 * Author: Nate Case <ncase@xes-inc.com> 5 * Author: Nate Case <ncase@xes-inc.com>
5 * 6 *
6 * This file is subject to the terms and conditions of version 2 of
7 * the GNU General Public License. See the file COPYING in the main
8 * directory of this archive for more details.
9 *
10 * LED driver for various PCA955x I2C LED drivers 7 * LED driver for various PCA955x I2C LED drivers
11 * 8 *
12 * Supported devices: 9 * Supported devices:
diff --git a/drivers/leds/leds-pca963x.c b/drivers/leds/leds-pca963x.c
index 9b4ef070d956..4afc317901a8 100644
--- a/drivers/leds/leds-pca963x.c
+++ b/drivers/leds/leds-pca963x.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2011 bct electronic GmbH 3 * Copyright 2011 bct electronic GmbH
3 * Copyright 2013 Qtechnology/AS 4 * Copyright 2013 Qtechnology/AS
@@ -7,10 +8,6 @@
7 * 8 *
8 * Based on leds-pca955x.c 9 * Based on leds-pca955x.c
9 * 10 *
10 * This file is subject to the terms and conditions of version 2 of
11 * the GNU General Public License. See the file COPYING in the main
12 * directory of this archive for more details.
13 *
14 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62)
15 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.)
16 * 13 *