aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-05-28 12:57:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-30 14:29:19 -0400
commitfda8d26e61fc518499ddc78ae74ec1aaa89c4134 (patch)
tree13c27f5881e1318d2a421c52f5f1648a4ab376a6 /drivers
parent82c298100a2db7e4241e0fee73d94dc5ee573837 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177
Based on 1 normalized pattern(s): licensed under the gpl 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 135 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190528170026.071193225@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk-axi-clkgen.c4
-rw-r--r--drivers/crypto/sunxi-ss/sun4i-ss.h3
-rw-r--r--drivers/dma/dma-axi-dmac.c3
-rw-r--r--drivers/gpu/drm/bridge/adv7511/adv7511.h3
-rw-r--r--drivers/gpu/drm/bridge/adv7511/adv7511_audio.c3
-rw-r--r--drivers/gpu/drm/bridge/adv7511/adv7511_drv.c3
-rw-r--r--drivers/i2c/muxes/i2c-mux-ltc4306.c3
-rw-r--r--drivers/iio/accel/st_accel.h2
-rw-r--r--drivers/iio/accel/st_accel_buffer.c3
-rw-r--r--drivers/iio/accel/st_accel_core.c3
-rw-r--r--drivers/iio/accel/st_accel_i2c.c3
-rw-r--r--drivers/iio/accel/st_accel_spi.c3
-rw-r--r--drivers/iio/adc/ad7266.c3
-rw-r--r--drivers/iio/adc/ad7298.c3
-rw-r--r--drivers/iio/adc/ad7791.c3
-rw-r--r--drivers/iio/adc/ad7793.c3
-rw-r--r--drivers/iio/adc/ad7887.c3
-rw-r--r--drivers/iio/adc/ad7923.c3
-rw-r--r--drivers/iio/adc/ad_sigma_delta.c3
-rw-r--r--drivers/iio/adc/ltc2497.c3
-rw-r--r--drivers/iio/adc/spear_adc.c3
-rw-r--r--drivers/iio/adc/xilinx-xadc-core.c3
-rw-r--r--drivers/iio/adc/xilinx-xadc-events.c3
-rw-r--r--drivers/iio/adc/xilinx-xadc.h3
-rw-r--r--drivers/iio/amplifiers/ad8366.c3
-rw-r--r--drivers/iio/buffer/industrialio-buffer-dma.c3
-rw-r--r--drivers/iio/common/ms_sensors/ms_sensors_i2c.c3
-rw-r--r--drivers/iio/common/st_sensors/st_sensors_buffer.c3
-rw-r--r--drivers/iio/common/st_sensors/st_sensors_core.c3
-rw-r--r--drivers/iio/common/st_sensors/st_sensors_i2c.c3
-rw-r--r--drivers/iio/common/st_sensors/st_sensors_spi.c3
-rw-r--r--drivers/iio/common/st_sensors/st_sensors_trigger.c3
-rw-r--r--drivers/iio/dac/ad5064.c3
-rw-r--r--drivers/iio/dac/ad5360.c3
-rw-r--r--drivers/iio/dac/ad5380.c3
-rw-r--r--drivers/iio/dac/ad5421.c3
-rw-r--r--drivers/iio/dac/ad5449.c3
-rw-r--r--drivers/iio/dac/ad5504.c3
-rw-r--r--drivers/iio/dac/ad5592r-base.c3
-rw-r--r--drivers/iio/dac/ad5592r-base.h3
-rw-r--r--drivers/iio/dac/ad5592r.c3
-rw-r--r--drivers/iio/dac/ad5593r.c3
-rw-r--r--drivers/iio/dac/ad5624r.h3
-rw-r--r--drivers/iio/dac/ad5624r_spi.c3
-rw-r--r--drivers/iio/dac/ad5755.c3
-rw-r--r--drivers/iio/dac/ad5761.c3
-rw-r--r--drivers/iio/dac/ad5764.c3
-rw-r--r--drivers/iio/dac/ad5791.c3
-rw-r--r--drivers/iio/dac/ad7303.c3
-rw-r--r--drivers/iio/dac/ltc2632.c3
-rw-r--r--drivers/iio/frequency/ad9523.c3
-rw-r--r--drivers/iio/frequency/adf4350.c3
-rw-r--r--drivers/iio/gyro/adis16136.c3
-rw-r--r--drivers/iio/gyro/adxrs450.c3
-rw-r--r--drivers/iio/gyro/st_gyro.h2
-rw-r--r--drivers/iio/gyro/st_gyro_buffer.c3
-rw-r--r--drivers/iio/gyro/st_gyro_core.c3
-rw-r--r--drivers/iio/gyro/st_gyro_i2c.c3
-rw-r--r--drivers/iio/gyro/st_gyro_spi.c3
-rw-r--r--drivers/iio/humidity/hts221.h3
-rw-r--r--drivers/iio/humidity/hts221_buffer.c3
-rw-r--r--drivers/iio/humidity/hts221_core.c3
-rw-r--r--drivers/iio/humidity/hts221_i2c.c3
-rw-r--r--drivers/iio/humidity/hts221_spi.c3
-rw-r--r--drivers/iio/humidity/htu21.c3
-rw-r--r--drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h3
-rw-r--r--drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c3
-rw-r--r--drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c3
-rw-r--r--drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c3
-rw-r--r--drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c3
-rw-r--r--drivers/iio/light/st_uvis25.h3
-rw-r--r--drivers/iio/light/st_uvis25_core.c3
-rw-r--r--drivers/iio/light/st_uvis25_i2c.c3
-rw-r--r--drivers/iio/light/st_uvis25_spi.c3
-rw-r--r--drivers/iio/magnetometer/st_magn.h2
-rw-r--r--drivers/iio/magnetometer/st_magn_buffer.c3
-rw-r--r--drivers/iio/magnetometer/st_magn_core.c3
-rw-r--r--drivers/iio/magnetometer/st_magn_i2c.c3
-rw-r--r--drivers/iio/magnetometer/st_magn_spi.c3
-rw-r--r--drivers/iio/pressure/ms5637.c3
-rw-r--r--drivers/iio/pressure/st_pressure.h2
-rw-r--r--drivers/iio/pressure/st_pressure_buffer.c3
-rw-r--r--drivers/iio/pressure/st_pressure_core.c3
-rw-r--r--drivers/iio/pressure/st_pressure_i2c.c3
-rw-r--r--drivers/iio/pressure/st_pressure_spi.c3
-rw-r--r--drivers/iio/temperature/tsys01.c3
-rw-r--r--drivers/iio/temperature/tsys02d.c3
-rw-r--r--drivers/iio/trigger/iio-trig-loop.c3
-rw-r--r--drivers/iio/trigger/iio-trig-sysfs.c4
-rw-r--r--drivers/input/keyboard/adp5589-keys.c2
-rw-r--r--drivers/power/supply/adp5061.c3
-rw-r--r--drivers/spi/spi-axi-spi-engine.c3
92 files changed, 92 insertions, 181 deletions
diff --git a/drivers/clk/clk-axi-clkgen.c b/drivers/clk/clk-axi-clkgen.c
index 48d11f2598e8..96f351785b41 100644
--- a/drivers/clk/clk-axi-clkgen.c
+++ b/drivers/clk/clk-axi-clkgen.c
@@ -1,11 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AXI clkgen driver 3 * AXI clkgen driver
3 * 4 *
4 * Copyright 2012-2013 Analog Devices Inc. 5 * Copyright 2012-2013 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * Author: Lars-Peter Clausen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 *
9 */ 7 */
10 8
11#include <linux/platform_device.h> 9#include <linux/platform_device.h>
diff --git a/drivers/crypto/sunxi-ss/sun4i-ss.h b/drivers/crypto/sunxi-ss/sun4i-ss.h
index 8c4ec9e93565..68b82d1a6303 100644
--- a/drivers/crypto/sunxi-ss/sun4i-ss.h
+++ b/drivers/crypto/sunxi-ss/sun4i-ss.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * sun4i-ss.h - hardware cryptographic accelerator for Allwinner A20 SoC 3 * sun4i-ss.h - hardware cryptographic accelerator for Allwinner A20 SoC
3 * 4 *
@@ -8,8 +9,6 @@
8 * Support DES and 3DES 9 * Support DES and 3DES
9 * 10 *
10 * You could find the datasheet in Documentation/arm/sunxi/README 11 * You could find the datasheet in Documentation/arm/sunxi/README
11 *
12 * Licensed under the GPL-2.
13 */ 12 */
14 13
15#include <linux/clk.h> 14#include <linux/clk.h>
diff --git a/drivers/dma/dma-axi-dmac.c b/drivers/dma/dma-axi-dmac.c
index f32fdf21edbd..8a3f1043917b 100644
--- a/drivers/dma/dma-axi-dmac.c
+++ b/drivers/dma/dma-axi-dmac.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for the Analog Devices AXI-DMAC core 3 * Driver for the Analog Devices AXI-DMAC core
3 * 4 *
4 * Copyright 2013-2015 Analog Devices Inc. 5 * Copyright 2013-2015 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * Author: Lars-Peter Clausen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/clk.h> 9#include <linux/clk.h>
diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511.h b/drivers/gpu/drm/bridge/adv7511/adv7511.h
index 996a7e7dbfd6..52b2adfdc877 100644
--- a/drivers/gpu/drm/bridge/adv7511/adv7511.h
+++ b/drivers/gpu/drm/bridge/adv7511/adv7511.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Analog Devices ADV7511 HDMI transmitter driver 3 * Analog Devices ADV7511 HDMI transmitter driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#ifndef __DRM_I2C_ADV7511_H__ 8#ifndef __DRM_I2C_ADV7511_H__
diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
index 1b4783d45c53..a428185be2c1 100644
--- a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
+++ b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Analog Devices ADV7511 HDMI transmitter driver 3 * Analog Devices ADV7511 HDMI transmitter driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 * Copyright (c) 2016, Linaro Limited 6 * Copyright (c) 2016, Linaro Limited
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <sound/core.h> 9#include <sound/core.h>
diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
index c532e9c9e491..0e3e868850d5 100644
--- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
+++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Analog Devices ADV7511 HDMI transmitter driver 3 * Analog Devices ADV7511 HDMI transmitter driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/i2c/muxes/i2c-mux-ltc4306.c b/drivers/i2c/muxes/i2c-mux-ltc4306.c
index 83a714605cd6..704f1e50f6f4 100644
--- a/drivers/i2c/muxes/i2c-mux-ltc4306.c
+++ b/drivers/i2c/muxes/i2c-mux-ltc4306.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Linear Technology LTC4306 and LTC4305 I2C multiplexer/switch 3 * Linear Technology LTC4306 and LTC4305 I2C multiplexer/switch
3 * 4 *
4 * Copyright (C) 2017 Analog Devices Inc. 5 * Copyright (C) 2017 Analog Devices Inc.
5 * 6 *
6 * Licensed under the GPL-2.
7 *
8 * Based on: i2c-mux-pca954x.c 7 * Based on: i2c-mux-pca954x.c
9 * 8 *
10 * Datasheet: http://cds.linear.com/docs/en/datasheet/4306.pdf 9 * Datasheet: http://cds.linear.com/docs/en/datasheet/4306.pdf
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h
index 9d25955af58e..979ab9679b99 100644
--- a/drivers/iio/accel/st_accel.h
+++ b/drivers/iio/accel/st_accel.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics accelerometers driver 3 * STMicroelectronics accelerometers driver
3 * 4 *
@@ -5,7 +6,6 @@
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 * v. 1.0.0 8 * v. 1.0.0
8 * Licensed under the GPL-2.
9 */ 9 */
10 10
11#ifndef ST_ACCEL_H 11#ifndef ST_ACCEL_H
diff --git a/drivers/iio/accel/st_accel_buffer.c b/drivers/iio/accel/st_accel_buffer.c
index 7fddc137e91e..54f2ae91f614 100644
--- a/drivers/iio/accel/st_accel_buffer.c
+++ b/drivers/iio/accel/st_accel_buffer.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics accelerometers driver 3 * STMicroelectronics accelerometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/accel/st_accel_core.c b/drivers/iio/accel/st_accel_core.c
index 5ff04d9755d5..e02b79931979 100644
--- a/drivers/iio/accel/st_accel_core.c
+++ b/drivers/iio/accel/st_accel_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics accelerometers driver 3 * STMicroelectronics accelerometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c
index 4e54477ccf24..c3c8f2e73c2a 100644
--- a/drivers/iio/accel/st_accel_i2c.c
+++ b/drivers/iio/accel/st_accel_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics accelerometers driver 3 * STMicroelectronics accelerometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c
index 73bfb5d04e2b..474742e35d92 100644
--- a/drivers/iio/accel/st_accel_spi.c
+++ b/drivers/iio/accel/st_accel_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics accelerometers driver 3 * STMicroelectronics accelerometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/adc/ad7266.c b/drivers/iio/adc/ad7266.c
index 605eb5e7e829..c31b8eabb894 100644
--- a/drivers/iio/adc/ad7266.c
+++ b/drivers/iio/adc/ad7266.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7266/65 SPI ADC driver 3 * AD7266/65 SPI ADC driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/adc/ad7298.c b/drivers/iio/adc/ad7298.c
index e0220825fde0..dc8d8c5f6ad3 100644
--- a/drivers/iio/adc/ad7298.c
+++ b/drivers/iio/adc/ad7298.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7298 SPI ADC driver 3 * AD7298 SPI ADC driver
3 * 4 *
4 * Copyright 2011 Analog Devices Inc. 5 * Copyright 2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/adc/ad7791.c b/drivers/iio/adc/ad7791.c
index a9ff0695ddf7..54025ea10239 100644
--- a/drivers/iio/adc/ad7791.c
+++ b/drivers/iio/adc/ad7791.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7787/AD7788/AD7789/AD7790/AD7791 SPI ADC driver 3 * AD7787/AD7788/AD7789/AD7790/AD7791 SPI ADC driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * Author: Lars-Peter Clausen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/interrupt.h> 9#include <linux/interrupt.h>
diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c
index 4ac3ae62f56f..bbc41ecf0d2f 100644
--- a/drivers/iio/adc/ad7793.c
+++ b/drivers/iio/adc/ad7793.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7785/AD7792/AD7793/AD7794/AD7795 SPI ADC driver 3 * AD7785/AD7792/AD7793/AD7794/AD7795 SPI ADC driver
3 * 4 *
4 * Copyright 2011-2012 Analog Devices Inc. 5 * Copyright 2011-2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/interrupt.h> 8#include <linux/interrupt.h>
diff --git a/drivers/iio/adc/ad7887.c b/drivers/iio/adc/ad7887.c
index 9d4c2467d362..6223043e432b 100644
--- a/drivers/iio/adc/ad7887.c
+++ b/drivers/iio/adc/ad7887.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7887 SPI ADC driver 3 * AD7887 SPI ADC driver
3 * 4 *
4 * Copyright 2010-2011 Analog Devices Inc. 5 * Copyright 2010-2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c
index cb7b854df00c..3212eb4c0f25 100644
--- a/drivers/iio/adc/ad7923.c
+++ b/drivers/iio/adc/ad7923.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7904/AD7914/AD7923/AD7924 SPI ADC driver 3 * AD7904/AD7914/AD7923/AD7924 SPI ADC driver
3 * 4 *
4 * Copyright 2011 Analog Devices Inc (from AD7923 Driver) 5 * Copyright 2011 Analog Devices Inc (from AD7923 Driver)
5 * Copyright 2012 CS Systemes d'Information 6 * Copyright 2012 CS Systemes d'Information
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/device.h> 9#include <linux/device.h>
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c
index a4310600a853..1423221c6e06 100644
--- a/drivers/iio/adc/ad_sigma_delta.c
+++ b/drivers/iio/adc/ad_sigma_delta.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Support code for Analog Devices Sigma-Delta ADCs 3 * Support code for Analog Devices Sigma-Delta ADCs
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * Author: Lars-Peter Clausen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/interrupt.h> 9#include <linux/interrupt.h>
diff --git a/drivers/iio/adc/ltc2497.c b/drivers/iio/adc/ltc2497.c
index f1f7cdf66fbd..470406032720 100644
--- a/drivers/iio/adc/ltc2497.c
+++ b/drivers/iio/adc/ltc2497.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ltc2497.c - Driver for Analog Devices/Linear Technology LTC2497 ADC 3 * ltc2497.c - Driver for Analog Devices/Linear Technology LTC2497 ADC
3 * 4 *
4 * Copyright (C) 2017 Analog Devices Inc. 5 * Copyright (C) 2017 Analog Devices Inc.
5 * 6 *
6 * Licensed under the GPL-2.
7 *
8 * Datasheet: http://cds.linear.com/docs/en/datasheet/2497fd.pdf 7 * Datasheet: http://cds.linear.com/docs/en/datasheet/2497fd.pdf
9 */ 8 */
10 9
diff --git a/drivers/iio/adc/spear_adc.c b/drivers/iio/adc/spear_adc.c
index b1da2c46107c..a33d0a4cc088 100644
--- a/drivers/iio/adc/spear_adc.c
+++ b/drivers/iio/adc/spear_adc.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ST SPEAr ADC driver 3 * ST SPEAr ADC driver
3 * 4 *
4 * Copyright 2012 Stefan Roese <sr@denx.de> 5 * Copyright 2012 Stefan Roese <sr@denx.de>
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c
index 6401ca7a9a20..4fd389678dba 100644
--- a/drivers/iio/adc/xilinx-xadc-core.c
+++ b/drivers/iio/adc/xilinx-xadc-core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Xilinx XADC driver 3 * Xilinx XADC driver
3 * 4 *
4 * Copyright 2013-2014 Analog Devices Inc. 5 * Copyright 2013-2014 Analog Devices Inc.
5 * Author: Lars-Peter Clauen <lars@metafoo.de> 6 * Author: Lars-Peter Clauen <lars@metafoo.de>
6 * 7 *
7 * Licensed under the GPL-2.
8 *
9 * Documentation for the parts can be found at: 8 * Documentation for the parts can be found at:
10 * - XADC hardmacro: Xilinx UG480 9 * - XADC hardmacro: Xilinx UG480
11 * - ZYNQ XADC interface: Xilinx UG585 10 * - ZYNQ XADC interface: Xilinx UG585
diff --git a/drivers/iio/adc/xilinx-xadc-events.c b/drivers/iio/adc/xilinx-xadc-events.c
index dc0670308253..dbfd5da290a4 100644
--- a/drivers/iio/adc/xilinx-xadc-events.c
+++ b/drivers/iio/adc/xilinx-xadc-events.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Xilinx XADC driver 3 * Xilinx XADC driver
3 * 4 *
4 * Copyright 2013 Analog Devices Inc. 5 * Copyright 2013 Analog Devices Inc.
5 * Author: Lars-Peter Clauen <lars@metafoo.de> 6 * Author: Lars-Peter Clauen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/iio/events.h> 9#include <linux/iio/events.h>
diff --git a/drivers/iio/adc/xilinx-xadc.h b/drivers/iio/adc/xilinx-xadc.h
index 8c0009585c16..4017f18b0a4f 100644
--- a/drivers/iio/adc/xilinx-xadc.h
+++ b/drivers/iio/adc/xilinx-xadc.h
@@ -1,10 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Xilinx XADC driver 3 * Xilinx XADC driver
3 * 4 *
4 * Copyright 2013 Analog Devices Inc. 5 * Copyright 2013 Analog Devices Inc.
5 * Author: Lars-Peter Clauen <lars@metafoo.de> 6 * Author: Lars-Peter Clauen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#ifndef __IIO_XILINX_XADC__ 9#ifndef __IIO_XILINX_XADC__
diff --git a/drivers/iio/amplifiers/ad8366.c b/drivers/iio/amplifiers/ad8366.c
index 4b76b61ba4be..3d6246f86429 100644
--- a/drivers/iio/amplifiers/ad8366.c
+++ b/drivers/iio/amplifiers/ad8366.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD8366 SPI Dual-Digital Variable Gain Amplifier (VGA) 3 * AD8366 SPI Dual-Digital Variable Gain Amplifier (VGA)
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/buffer/industrialio-buffer-dma.c b/drivers/iio/buffer/industrialio-buffer-dma.c
index b32bf57910ca..90cf6e586b10 100644
--- a/drivers/iio/buffer/industrialio-buffer-dma.c
+++ b/drivers/iio/buffer/industrialio-buffer-dma.c
@@ -1,8 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2013-2015 Analog Devices Inc. 3 * Copyright 2013-2015 Analog Devices Inc.
3 * Author: Lars-Peter Clausen <lars@metafoo.de> 4 * Author: Lars-Peter Clausen <lars@metafoo.de>
4 *
5 * Licensed under the GPL-2.
6 */ 5 */
7 6
8#include <linux/slab.h> 7#include <linux/slab.h>
diff --git a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c b/drivers/iio/common/ms_sensors/ms_sensors_i2c.c
index 125b5ff61d19..b52cba1b3c83 100644
--- a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c
+++ b/drivers/iio/common/ms_sensors/ms_sensors_i2c.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Measurements Specialties driver common i2c functions 3 * Measurements Specialties driver common i2c functions
3 * 4 *
4 * Copyright (c) 2015 Measurement-Specialties 5 * Copyright (c) 2015 Measurement-Specialties
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/iio/common/st_sensors/st_sensors_buffer.c b/drivers/iio/common/st_sensors/st_sensors_buffer.c
index df4045203a07..4a68669dc555 100644
--- a/drivers/iio/common/st_sensors/st_sensors_buffer.c
+++ b/drivers/iio/common/st_sensors/st_sensors_buffer.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics sensors buffer library driver 3 * STMicroelectronics sensors buffer library driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/common/st_sensors/st_sensors_core.c b/drivers/iio/common/st_sensors/st_sensors_core.c
index e50c975250e9..8b22dc241482 100644
--- a/drivers/iio/common/st_sensors/st_sensors_core.c
+++ b/drivers/iio/common/st_sensors/st_sensors_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics sensors core library driver 3 * STMicroelectronics sensors core library driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/common/st_sensors/st_sensors_i2c.c b/drivers/iio/common/st_sensors/st_sensors_i2c.c
index b81e48e9f27e..b1c9812407e7 100644
--- a/drivers/iio/common/st_sensors/st_sensors_i2c.c
+++ b/drivers/iio/common/st_sensors/st_sensors_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics sensors i2c library driver 3 * STMicroelectronics sensors i2c library driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/common/st_sensors/st_sensors_spi.c b/drivers/iio/common/st_sensors/st_sensors_spi.c
index 5b377373f48d..2213843f02cb 100644
--- a/drivers/iio/common/st_sensors/st_sensors_spi.c
+++ b/drivers/iio/common/st_sensors/st_sensors_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics sensors spi library driver 3 * STMicroelectronics sensors spi library driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/common/st_sensors/st_sensors_trigger.c b/drivers/iio/common/st_sensors/st_sensors_trigger.c
index 224596b0e189..630c8cb35e8b 100644
--- a/drivers/iio/common/st_sensors/st_sensors_trigger.c
+++ b/drivers/iio/common/st_sensors/st_sensors_trigger.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics sensors trigger library driver 3 * STMicroelectronics sensors trigger library driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c
index 6c3ba143839b..d33642de9720 100644
--- a/drivers/iio/dac/ad5064.c
+++ b/drivers/iio/dac/ad5064.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5024, AD5025, AD5044, AD5045, AD5064, AD5064-1, AD5065, AD5625, AD5625R, 3 * AD5024, AD5025, AD5044, AD5045, AD5064, AD5064-1, AD5065, AD5625, AD5625R,
3 * AD5627, AD5627R, AD5628, AD5629R, AD5645R, AD5647R, AD5648, AD5665, AD5665R, 4 * AD5627, AD5627R, AD5628, AD5629R, AD5645R, AD5647R, AD5648, AD5665, AD5665R,
@@ -6,8 +7,6 @@
6 * Digital to analog converters driver 7 * Digital to analog converters driver
7 * 8 *
8 * Copyright 2011 Analog Devices Inc. 9 * Copyright 2011 Analog Devices Inc.
9 *
10 * Licensed under the GPL-2.
11 */ 10 */
12 11
13#include <linux/device.h> 12#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5360.c b/drivers/iio/dac/ad5360.c
index 0209316d5566..2ac428b957e3 100644
--- a/drivers/iio/dac/ad5360.c
+++ b/drivers/iio/dac/ad5360.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Analog devices AD5360, AD5361, AD5362, AD5363, AD5370, AD5371, AD5373 3 * Analog devices AD5360, AD5361, AD5362, AD5363, AD5370, AD5371, AD5373
3 * multi-channel Digital to Analog Converters driver 4 * multi-channel Digital to Analog Converters driver
4 * 5 *
5 * Copyright 2011 Analog Devices Inc. 6 * Copyright 2011 Analog Devices Inc.
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/device.h> 9#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c
index 873c2bf637c0..4335214800d2 100644
--- a/drivers/iio/dac/ad5380.c
+++ b/drivers/iio/dac/ad5380.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Analog devices AD5380, AD5381, AD5382, AD5383, AD5390, AD5391, AD5392 3 * Analog devices AD5380, AD5381, AD5382, AD5383, AD5390, AD5391, AD5392
3 * multi-channel Digital to Analog Converters driver 4 * multi-channel Digital to Analog Converters driver
4 * 5 *
5 * Copyright 2011 Analog Devices Inc. 6 * Copyright 2011 Analog Devices Inc.
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/device.h> 9#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5421.c b/drivers/iio/dac/ad5421.c
index 8e9633d8de67..63063e85cd0a 100644
--- a/drivers/iio/dac/ad5421.c
+++ b/drivers/iio/dac/ad5421.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5421 Digital to analog converters driver 3 * AD5421 Digital to analog converters driver
3 * 4 *
4 * Copyright 2011 Analog Devices Inc. 5 * Copyright 2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5449.c b/drivers/iio/dac/ad5449.c
index 317a74129932..fed3ebaccac4 100644
--- a/drivers/iio/dac/ad5449.c
+++ b/drivers/iio/dac/ad5449.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5415, AD5426, AD5429, AD5432, AD5439, AD5443, AD5449 Digital to Analog 3 * AD5415, AD5426, AD5429, AD5432, AD5439, AD5443, AD5449 Digital to Analog
3 * Converter driver. 4 * Converter driver.
4 * 5 *
5 * Copyright 2012 Analog Devices Inc. 6 * Copyright 2012 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 * Author: Lars-Peter Clausen <lars@metafoo.de>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/device.h> 10#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5504.c b/drivers/iio/dac/ad5504.c
index 0ae23a268017..c64e6898ff20 100644
--- a/drivers/iio/dac/ad5504.c
+++ b/drivers/iio/dac/ad5504.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5504, AD5501 High Voltage Digital to Analog Converter 3 * AD5504, AD5501 High Voltage Digital to Analog Converter
3 * 4 *
4 * Copyright 2011 Analog Devices Inc. 5 * Copyright 2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/interrupt.h> 8#include <linux/interrupt.h>
diff --git a/drivers/iio/dac/ad5592r-base.c b/drivers/iio/dac/ad5592r-base.c
index 095530c233e4..2d897e64c6a9 100644
--- a/drivers/iio/dac/ad5592r-base.c
+++ b/drivers/iio/dac/ad5592r-base.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5592R Digital <-> Analog converters driver 3 * AD5592R Digital <-> Analog converters driver
3 * 4 *
4 * Copyright 2014-2016 Analog Devices Inc. 5 * Copyright 2014-2016 Analog Devices Inc.
5 * Author: Paul Cercueil <paul.cercueil@analog.com> 6 * Author: Paul Cercueil <paul.cercueil@analog.com>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/bitops.h> 9#include <linux/bitops.h>
diff --git a/drivers/iio/dac/ad5592r-base.h b/drivers/iio/dac/ad5592r-base.h
index 841457e93f85..4774e4cd9c11 100644
--- a/drivers/iio/dac/ad5592r-base.h
+++ b/drivers/iio/dac/ad5592r-base.h
@@ -1,10 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AD5592R / AD5593R Digital <-> Analog converters driver 3 * AD5592R / AD5593R Digital <-> Analog converters driver
3 * 4 *
4 * Copyright 2015-2016 Analog Devices Inc. 5 * Copyright 2015-2016 Analog Devices Inc.
5 * Author: Paul Cercueil <paul.cercueil@analog.com> 6 * Author: Paul Cercueil <paul.cercueil@analog.com>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#ifndef __DRIVERS_IIO_DAC_AD5592R_BASE_H__ 9#ifndef __DRIVERS_IIO_DAC_AD5592R_BASE_H__
diff --git a/drivers/iio/dac/ad5592r.c b/drivers/iio/dac/ad5592r.c
index 6a12a3c9d94f..34ba059a77da 100644
--- a/drivers/iio/dac/ad5592r.c
+++ b/drivers/iio/dac/ad5592r.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5592R Digital <-> Analog converters driver 3 * AD5592R Digital <-> Analog converters driver
3 * 4 *
4 * Copyright 2015-2016 Analog Devices Inc. 5 * Copyright 2015-2016 Analog Devices Inc.
5 * Author: Paul Cercueil <paul.cercueil@analog.com> 6 * Author: Paul Cercueil <paul.cercueil@analog.com>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include "ad5592r-base.h" 9#include "ad5592r-base.h"
diff --git a/drivers/iio/dac/ad5593r.c b/drivers/iio/dac/ad5593r.c
index fc11ea098f98..44ea3b8117d0 100644
--- a/drivers/iio/dac/ad5593r.c
+++ b/drivers/iio/dac/ad5593r.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5593R Digital <-> Analog converters driver 3 * AD5593R Digital <-> Analog converters driver
3 * 4 *
4 * Copyright 2015-2016 Analog Devices Inc. 5 * Copyright 2015-2016 Analog Devices Inc.
5 * Author: Paul Cercueil <paul.cercueil@analog.com> 6 * Author: Paul Cercueil <paul.cercueil@analog.com>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include "ad5592r-base.h" 9#include "ad5592r-base.h"
diff --git a/drivers/iio/dac/ad5624r.h b/drivers/iio/dac/ad5624r.h
index 5dca3028cdfd..13964f3a22a4 100644
--- a/drivers/iio/dac/ad5624r.h
+++ b/drivers/iio/dac/ad5624r.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AD5624R SPI DAC driver 3 * AD5624R SPI DAC driver
3 * 4 *
4 * Copyright 2010-2011 Analog Devices Inc. 5 * Copyright 2010-2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8#ifndef SPI_AD5624R_H_ 7#ifndef SPI_AD5624R_H_
9#define SPI_AD5624R_H_ 8#define SPI_AD5624R_H_
diff --git a/drivers/iio/dac/ad5624r_spi.c b/drivers/iio/dac/ad5624r_spi.c
index 13fdb4dfe356..e6c022e1dc1c 100644
--- a/drivers/iio/dac/ad5624r_spi.c
+++ b/drivers/iio/dac/ad5624r_spi.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5624R, AD5644R, AD5664R Digital to analog convertors spi driver 3 * AD5624R, AD5644R, AD5664R Digital to analog convertors spi driver
3 * 4 *
4 * Copyright 2010-2011 Analog Devices Inc. 5 * Copyright 2010-2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/interrupt.h> 8#include <linux/interrupt.h>
diff --git a/drivers/iio/dac/ad5755.c b/drivers/iio/dac/ad5755.c
index 2d03cc89ba50..b9175fb4c8ab 100644
--- a/drivers/iio/dac/ad5755.c
+++ b/drivers/iio/dac/ad5755.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5755, AD5755-1, AD5757, AD5735, AD5737 Digital to analog converters driver 3 * AD5755, AD5755-1, AD5757, AD5735, AD5737 Digital to analog converters driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5761.c b/drivers/iio/dac/ad5761.c
index 05017c8bbd00..4fb42b743f0f 100644
--- a/drivers/iio/dac/ad5761.c
+++ b/drivers/iio/dac/ad5761.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5721, AD5721R, AD5761, AD5761R, Voltage Output Digital to Analog Converter 3 * AD5721, AD5721R, AD5761, AD5761R, Voltage Output Digital to Analog Converter
3 * 4 *
4 * Copyright 2016 Qtechnology A/S 5 * Copyright 2016 Qtechnology A/S
5 * 2016 Ricardo Ribalda <ricardo.ribalda@gmail.com> 6 * 2016 Ricardo Ribalda <ricardo.ribalda@gmail.com>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9#include <linux/kernel.h> 8#include <linux/kernel.h>
10#include <linux/module.h> 9#include <linux/module.h>
diff --git a/drivers/iio/dac/ad5764.c b/drivers/iio/dac/ad5764.c
index 9333177062c0..f7ab211604a1 100644
--- a/drivers/iio/dac/ad5764.c
+++ b/drivers/iio/dac/ad5764.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Analog devices AD5764, AD5764R, AD5744, AD5744R quad-channel 3 * Analog devices AD5764, AD5764R, AD5744, AD5744R quad-channel
3 * Digital to Analog Converters driver 4 * Digital to Analog Converters driver
4 * 5 *
5 * Copyright 2011 Analog Devices Inc. 6 * Copyright 2011 Analog Devices Inc.
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/device.h> 9#include <linux/device.h>
diff --git a/drivers/iio/dac/ad5791.c b/drivers/iio/dac/ad5791.c
index 84ce5e6ecf3f..1d11f39ed047 100644
--- a/drivers/iio/dac/ad5791.c
+++ b/drivers/iio/dac/ad5791.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD5760, AD5780, AD5781, AD5790, AD5791 Voltage Output Digital to Analog 3 * AD5760, AD5780, AD5781, AD5790, AD5791 Voltage Output Digital to Analog
3 * Converter 4 * Converter
4 * 5 *
5 * Copyright 2011 Analog Devices Inc. 6 * Copyright 2011 Analog Devices Inc.
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/interrupt.h> 9#include <linux/interrupt.h>
diff --git a/drivers/iio/dac/ad7303.c b/drivers/iio/dac/ad7303.c
index 8f3bd19b6dc3..8de9f40226e6 100644
--- a/drivers/iio/dac/ad7303.c
+++ b/drivers/iio/dac/ad7303.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD7303 Digital to analog converters driver 3 * AD7303 Digital to analog converters driver
3 * 4 *
4 * Copyright 2013 Analog Devices Inc. 5 * Copyright 2013 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/err.h> 8#include <linux/err.h>
diff --git a/drivers/iio/dac/ltc2632.c b/drivers/iio/dac/ltc2632.c
index 15d498fc4758..643d1ce956ce 100644
--- a/drivers/iio/dac/ltc2632.c
+++ b/drivers/iio/dac/ltc2632.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * LTC2632 Digital to analog convertors spi driver 3 * LTC2632 Digital to analog convertors spi driver
3 * 4 *
4 * Copyright 2017 Maxime Roussin-Bélanger 5 * Copyright 2017 Maxime Roussin-Bélanger
5 * expanded by Silvan Murer <silvan.murer@gmail.com> 6 * expanded by Silvan Murer <silvan.murer@gmail.com>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/device.h> 9#include <linux/device.h>
diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c
index 9b9eee27176c..9691524ce5b0 100644
--- a/drivers/iio/frequency/ad9523.c
+++ b/drivers/iio/frequency/ad9523.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AD9523 SPI Low Jitter Clock Generator 3 * AD9523 SPI Low Jitter Clock Generator
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c
index f4748ff243f7..ae0ca09ae062 100644
--- a/drivers/iio/frequency/adf4350.c
+++ b/drivers/iio/frequency/adf4350.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADF4350/ADF4351 SPI Wideband Synthesizer driver 3 * ADF4350/ADF4351 SPI Wideband Synthesizer driver
3 * 4 *
4 * Copyright 2012-2013 Analog Devices Inc. 5 * Copyright 2012-2013 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/device.h> 8#include <linux/device.h>
diff --git a/drivers/iio/gyro/adis16136.c b/drivers/iio/gyro/adis16136.c
index 605eee23780c..5bec7ad53d8b 100644
--- a/drivers/iio/gyro/adis16136.c
+++ b/drivers/iio/gyro/adis16136.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADIS16133/ADIS16135/ADIS16136 gyroscope driver 3 * ADIS16133/ADIS16135/ADIS16136 gyroscope driver
3 * 4 *
4 * Copyright 2012 Analog Devices Inc. 5 * Copyright 2012 Analog Devices Inc.
5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * Author: Lars-Peter Clausen <lars@metafoo.de>
6 *
7 * Licensed under the GPL-2.
8 */ 7 */
9 8
10#include <linux/interrupt.h> 9#include <linux/interrupt.h>
diff --git a/drivers/iio/gyro/adxrs450.c b/drivers/iio/gyro/adxrs450.c
index 5d39fd008378..b00c0eb44249 100644
--- a/drivers/iio/gyro/adxrs450.c
+++ b/drivers/iio/gyro/adxrs450.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADXRS450/ADXRS453 Digital Output Gyroscope Driver 3 * ADXRS450/ADXRS453 Digital Output Gyroscope Driver
3 * 4 *
4 * Copyright 2011 Analog Devices Inc. 5 * Copyright 2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/interrupt.h> 8#include <linux/interrupt.h>
diff --git a/drivers/iio/gyro/st_gyro.h b/drivers/iio/gyro/st_gyro.h
index 48923ae6ac3b..460d190be4a4 100644
--- a/drivers/iio/gyro/st_gyro.h
+++ b/drivers/iio/gyro/st_gyro.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics gyroscopes driver 3 * STMicroelectronics gyroscopes driver
3 * 4 *
@@ -5,7 +6,6 @@
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 * v. 1.0.0 8 * v. 1.0.0
8 * Licensed under the GPL-2.
9 */ 9 */
10 10
11#ifndef ST_GYRO_H 11#ifndef ST_GYRO_H
diff --git a/drivers/iio/gyro/st_gyro_buffer.c b/drivers/iio/gyro/st_gyro_buffer.c
index a5377044e42f..6e362f735e92 100644
--- a/drivers/iio/gyro/st_gyro_buffer.c
+++ b/drivers/iio/gyro/st_gyro_buffer.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics gyroscopes driver 3 * STMicroelectronics gyroscopes driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/gyro/st_gyro_core.c b/drivers/iio/gyro/st_gyro_core.c
index b31064ba37b9..e995dc77e30e 100644
--- a/drivers/iio/gyro/st_gyro_core.c
+++ b/drivers/iio/gyro/st_gyro_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics gyroscopes driver 3 * STMicroelectronics gyroscopes driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/gyro/st_gyro_i2c.c b/drivers/iio/gyro/st_gyro_i2c.c
index b405b82b9177..f2a8683db7d9 100644
--- a/drivers/iio/gyro/st_gyro_i2c.c
+++ b/drivers/iio/gyro/st_gyro_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics gyroscopes driver 3 * STMicroelectronics gyroscopes driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/gyro/st_gyro_spi.c b/drivers/iio/gyro/st_gyro_spi.c
index 0b52ed577dc2..93c48248bea6 100644
--- a/drivers/iio/gyro/st_gyro_spi.c
+++ b/drivers/iio/gyro/st_gyro_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics gyroscopes driver 3 * STMicroelectronics gyroscopes driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/humidity/hts221.h b/drivers/iio/humidity/hts221.h
index e41a3d83e95d..7d6771f7cf47 100644
--- a/drivers/iio/humidity/hts221.h
+++ b/drivers/iio/humidity/hts221.h
@@ -1,11 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics hts221 sensor driver 3 * STMicroelectronics hts221 sensor driver
3 * 4 *
4 * Copyright 2016 STMicroelectronics Inc. 5 * Copyright 2016 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#ifndef HTS221_H 10#ifndef HTS221_H
diff --git a/drivers/iio/humidity/hts221_buffer.c b/drivers/iio/humidity/hts221_buffer.c
index 1a94b0b91721..81d50a861c22 100644
--- a/drivers/iio/humidity/hts221_buffer.c
+++ b/drivers/iio/humidity/hts221_buffer.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics hts221 sensor driver 3 * STMicroelectronics hts221 sensor driver
3 * 4 *
4 * Copyright 2016 STMicroelectronics Inc. 5 * Copyright 2016 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10#include <linux/kernel.h> 9#include <linux/kernel.h>
11#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/humidity/hts221_core.c b/drivers/iio/humidity/hts221_core.c
index 166946d4978d..4922444771c6 100644
--- a/drivers/iio/humidity/hts221_core.c
+++ b/drivers/iio/humidity/hts221_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics hts221 sensor driver 3 * STMicroelectronics hts221 sensor driver
3 * 4 *
4 * Copyright 2016 STMicroelectronics Inc. 5 * Copyright 2016 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/humidity/hts221_i2c.c b/drivers/iio/humidity/hts221_i2c.c
index b5b3f408a658..4272b7030c44 100644
--- a/drivers/iio/humidity/hts221_i2c.c
+++ b/drivers/iio/humidity/hts221_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics hts221 i2c driver 3 * STMicroelectronics hts221 i2c driver
3 * 4 *
4 * Copyright 2016 STMicroelectronics Inc. 5 * Copyright 2016 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/humidity/hts221_spi.c b/drivers/iio/humidity/hts221_spi.c
index 9c005f037026..055dba8897d2 100644
--- a/drivers/iio/humidity/hts221_spi.c
+++ b/drivers/iio/humidity/hts221_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics hts221 spi driver 3 * STMicroelectronics hts221 spi driver
3 * 4 *
4 * Copyright 2016 STMicroelectronics Inc. 5 * Copyright 2016 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/humidity/htu21.c b/drivers/iio/humidity/htu21.c
index f5a2701ba6dd..d4c0589844dd 100644
--- a/drivers/iio/humidity/htu21.c
+++ b/drivers/iio/humidity/htu21.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * htu21.c - Support for Measurement-Specialties 3 * htu21.c - Support for Measurement-Specialties
3 * htu21 temperature & humidity sensor 4 * htu21 temperature & humidity sensor
@@ -5,8 +6,6 @@
5 * 6 *
6 * Copyright (c) 2014 Measurement-Specialties 7 * Copyright (c) 2014 Measurement-Specialties
7 * 8 *
8 * Licensed under the GPL-2.
9 *
10 * (7-bit I2C slave address 0x40) 9 * (7-bit I2C slave address 0x40)
11 * 10 *
12 * Datasheet: 11 * Datasheet:
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
index 004a8a1a0027..72f72056b328 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics st_lsm6dsx sensor driver 3 * STMicroelectronics st_lsm6dsx sensor driver
3 * 4 *
@@ -5,8 +6,6 @@
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 * Denis Ciocca <denis.ciocca@st.com> 8 * Denis Ciocca <denis.ciocca@st.com>
8 *
9 * Licensed under the GPL-2.
10 */ 9 */
11 10
12#ifndef ST_LSM6DSX_H 11#ifndef ST_LSM6DSX_H
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
index 793598ee960a..e4d8a79d557d 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics st_lsm6dsx FIFO buffer library driver 3 * STMicroelectronics st_lsm6dsx FIFO buffer library driver
3 * 4 *
@@ -26,8 +27,6 @@
26 * 27 *
27 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 28 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
28 * Denis Ciocca <denis.ciocca@st.com> 29 * Denis Ciocca <denis.ciocca@st.com>
29 *
30 * Licensed under the GPL-2.
31 */ 30 */
32#include <linux/module.h> 31#include <linux/module.h>
33#include <linux/interrupt.h> 32#include <linux/interrupt.h>
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
index cf82c9049945..b6edc9886d1e 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics st_lsm6dsx sensor driver 3 * STMicroelectronics st_lsm6dsx sensor driver
3 * 4 *
@@ -33,8 +34,6 @@
33 * 34 *
34 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 35 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
35 * Denis Ciocca <denis.ciocca@st.com> 36 * Denis Ciocca <denis.ciocca@st.com>
36 *
37 * Licensed under the GPL-2.
38 */ 37 */
39 38
40#include <linux/kernel.h> 39#include <linux/kernel.h>
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
index f54370196098..966d52a4bf1d 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics st_lsm6dsx i2c driver 3 * STMicroelectronics st_lsm6dsx i2c driver
3 * 4 *
@@ -5,8 +6,6 @@
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 * Denis Ciocca <denis.ciocca@st.com> 8 * Denis Ciocca <denis.ciocca@st.com>
8 *
9 * Licensed under the GPL-2.
10 */ 9 */
11 10
12#include <linux/kernel.h> 11#include <linux/kernel.h>
diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c
index 4a4abb2935da..24e4e50414e6 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics st_lsm6dsx spi driver 3 * STMicroelectronics st_lsm6dsx spi driver
3 * 4 *
@@ -5,8 +6,6 @@
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi@st.com> 7 * Lorenzo Bianconi <lorenzo.bianconi@st.com>
7 * Denis Ciocca <denis.ciocca@st.com> 8 * Denis Ciocca <denis.ciocca@st.com>
8 *
9 * Licensed under the GPL-2.
10 */ 9 */
11 10
12#include <linux/kernel.h> 11#include <linux/kernel.h>
diff --git a/drivers/iio/light/st_uvis25.h b/drivers/iio/light/st_uvis25.h
index 5e970ab480cd..78bc56aad129 100644
--- a/drivers/iio/light/st_uvis25.h
+++ b/drivers/iio/light/st_uvis25.h
@@ -1,11 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics uvis25 sensor driver 3 * STMicroelectronics uvis25 sensor driver
3 * 4 *
4 * Copyright 2017 STMicroelectronics Inc. 5 * Copyright 2017 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 7 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#ifndef ST_UVIS25_H 10#ifndef ST_UVIS25_H
diff --git a/drivers/iio/light/st_uvis25_core.c b/drivers/iio/light/st_uvis25_core.c
index 302635836e6b..d262c254b895 100644
--- a/drivers/iio/light/st_uvis25_core.c
+++ b/drivers/iio/light/st_uvis25_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics uvis25 sensor driver 3 * STMicroelectronics uvis25 sensor driver
3 * 4 *
4 * Copyright 2017 STMicroelectronics Inc. 5 * Copyright 2017 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 7 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/light/st_uvis25_i2c.c b/drivers/iio/light/st_uvis25_i2c.c
index afd6eb01a202..dacbac6a6662 100644
--- a/drivers/iio/light/st_uvis25_i2c.c
+++ b/drivers/iio/light/st_uvis25_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics uvis25 i2c driver 3 * STMicroelectronics uvis25 i2c driver
3 * 4 *
4 * Copyright 2017 STMicroelectronics Inc. 5 * Copyright 2017 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 7 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/light/st_uvis25_spi.c b/drivers/iio/light/st_uvis25_spi.c
index cdfee5e84d5e..a9ceae4f58b3 100644
--- a/drivers/iio/light/st_uvis25_spi.c
+++ b/drivers/iio/light/st_uvis25_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics uvis25 spi driver 3 * STMicroelectronics uvis25 spi driver
3 * 4 *
4 * Copyright 2017 STMicroelectronics Inc. 5 * Copyright 2017 STMicroelectronics Inc.
5 * 6 *
6 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 7 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/magnetometer/st_magn.h b/drivers/iio/magnetometer/st_magn.h
index bc14ad4f1b26..d69ef9b2a731 100644
--- a/drivers/iio/magnetometer/st_magn.h
+++ b/drivers/iio/magnetometer/st_magn.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics magnetometers driver 3 * STMicroelectronics magnetometers driver
3 * 4 *
@@ -5,7 +6,6 @@
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 * v. 1.0.0 8 * v. 1.0.0
8 * Licensed under the GPL-2.
9 */ 9 */
10 10
11#ifndef ST_MAGN_H 11#ifndef ST_MAGN_H
diff --git a/drivers/iio/magnetometer/st_magn_buffer.c b/drivers/iio/magnetometer/st_magn_buffer.c
index 37ab30566464..11d7806655bc 100644
--- a/drivers/iio/magnetometer/st_magn_buffer.c
+++ b/drivers/iio/magnetometer/st_magn_buffer.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics magnetometers driver 3 * STMicroelectronics magnetometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/magnetometer/st_magn_core.c b/drivers/iio/magnetometer/st_magn_core.c
index 5d056bdb3b37..2f7a1dbcdeb3 100644
--- a/drivers/iio/magnetometer/st_magn_core.c
+++ b/drivers/iio/magnetometer/st_magn_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics magnetometers driver 3 * STMicroelectronics magnetometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/magnetometer/st_magn_i2c.c b/drivers/iio/magnetometer/st_magn_i2c.c
index 68650f5f5c19..4d014fd1aeb0 100644
--- a/drivers/iio/magnetometer/st_magn_i2c.c
+++ b/drivers/iio/magnetometer/st_magn_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics magnetometers driver 3 * STMicroelectronics magnetometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c
index cb05fcd9ddfe..0d47070611b1 100644
--- a/drivers/iio/magnetometer/st_magn_spi.c
+++ b/drivers/iio/magnetometer/st_magn_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics magnetometers driver 3 * STMicroelectronics magnetometers driver
3 * 4 *
4 * Copyright 2012-2013 STMicroelectronics Inc. 5 * Copyright 2012-2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/pressure/ms5637.c b/drivers/iio/pressure/ms5637.c
index e2f73e6dc58f..f49c7003c72a 100644
--- a/drivers/iio/pressure/ms5637.c
+++ b/drivers/iio/pressure/ms5637.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ms5637.c - Support for Measurement-Specialties MS5637, MS5805 3 * ms5637.c - Support for Measurement-Specialties MS5637, MS5805
3 * MS5837 and MS8607 pressure & temperature sensor 4 * MS5837 and MS8607 pressure & temperature sensor
4 * 5 *
5 * Copyright (c) 2015 Measurement-Specialties 6 * Copyright (c) 2015 Measurement-Specialties
6 * 7 *
7 * Licensed under the GPL-2.
8 *
9 * (7-bit I2C slave address 0x76) 8 * (7-bit I2C slave address 0x76)
10 * 9 *
11 * Datasheet: 10 * Datasheet:
diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h
index 57946605f3ba..6a720cfb5686 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * STMicroelectronics pressures driver 3 * STMicroelectronics pressures driver
3 * 4 *
@@ -5,7 +6,6 @@
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 * v. 1.0.0 8 * v. 1.0.0
8 * Licensed under the GPL-2.
9 */ 9 */
10 10
11#ifndef ST_PRESS_H 11#ifndef ST_PRESS_H
diff --git a/drivers/iio/pressure/st_pressure_buffer.c b/drivers/iio/pressure/st_pressure_buffer.c
index 99468d0a64e7..4566e08a64a1 100644
--- a/drivers/iio/pressure/st_pressure_buffer.c
+++ b/drivers/iio/pressure/st_pressure_buffer.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics pressures driver 3 * STMicroelectronics pressures driver
3 * 4 *
4 * Copyright 2013 STMicroelectronics Inc. 5 * Copyright 2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/iio/pressure/st_pressure_core.c b/drivers/iio/pressure/st_pressure_core.c
index 38dcdb7c000e..b960e76f7dfd 100644
--- a/drivers/iio/pressure/st_pressure_core.c
+++ b/drivers/iio/pressure/st_pressure_core.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics pressures driver 3 * STMicroelectronics pressures driver
3 * 4 *
4 * Copyright 2013 STMicroelectronics Inc. 5 * Copyright 2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/pressure/st_pressure_i2c.c b/drivers/iio/pressure/st_pressure_i2c.c
index a60849dd4ea7..b7d9ba706abc 100644
--- a/drivers/iio/pressure/st_pressure_i2c.c
+++ b/drivers/iio/pressure/st_pressure_i2c.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics pressures driver 3 * STMicroelectronics pressures driver
3 * 4 *
4 * Copyright 2013 STMicroelectronics Inc. 5 * Copyright 2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/pressure/st_pressure_spi.c b/drivers/iio/pressure/st_pressure_spi.c
index 79a12ed46e54..ef61401c41d3 100644
--- a/drivers/iio/pressure/st_pressure_spi.c
+++ b/drivers/iio/pressure/st_pressure_spi.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * STMicroelectronics pressures driver 3 * STMicroelectronics pressures driver
3 * 4 *
4 * Copyright 2013 STMicroelectronics Inc. 5 * Copyright 2013 STMicroelectronics Inc.
5 * 6 *
6 * Denis Ciocca <denis.ciocca@st.com> 7 * Denis Ciocca <denis.ciocca@st.com>
7 *
8 * Licensed under the GPL-2.
9 */ 8 */
10 9
11#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/iio/temperature/tsys01.c b/drivers/iio/temperature/tsys01.c
index 3799d007c8e7..d41f050c2fea 100644
--- a/drivers/iio/temperature/tsys01.c
+++ b/drivers/iio/temperature/tsys01.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tsys01.c - Support for Measurement-Specialties tsys01 temperature sensor 3 * tsys01.c - Support for Measurement-Specialties tsys01 temperature sensor
3 * 4 *
4 * Copyright (c) 2015 Measurement-Specialties 5 * Copyright (c) 2015 Measurement-Specialties
5 * 6 *
6 * Licensed under the GPL-2.
7 *
8 * Datasheet: 7 * Datasheet:
9 * http://www.meas-spec.com/downloads/TSYS01_Digital_Temperature_Sensor.pdf 8 * http://www.meas-spec.com/downloads/TSYS01_Digital_Temperature_Sensor.pdf
10 */ 9 */
diff --git a/drivers/iio/temperature/tsys02d.c b/drivers/iio/temperature/tsys02d.c
index 9b2e56fa5fd5..6735af400b22 100644
--- a/drivers/iio/temperature/tsys02d.c
+++ b/drivers/iio/temperature/tsys02d.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * tsys02d.c - Support for Measurement-Specialties tsys02d temperature sensor 3 * tsys02d.c - Support for Measurement-Specialties tsys02d temperature sensor
3 * 4 *
4 * Copyright (c) 2015 Measurement-Specialties 5 * Copyright (c) 2015 Measurement-Specialties
5 * 6 *
6 * Licensed under the GPL-2.
7 *
8 * (7-bit I2C slave address 0x40) 7 * (7-bit I2C slave address 0x40)
9 * 8 *
10 * Datasheet: 9 * Datasheet:
diff --git a/drivers/iio/trigger/iio-trig-loop.c b/drivers/iio/trigger/iio-trig-loop.c
index 9258d3cf149b..4a00668e3258 100644
--- a/drivers/iio/trigger/iio-trig-loop.c
+++ b/drivers/iio/trigger/iio-trig-loop.c
@@ -1,8 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2016 Jonathan Cameron <jic23@kernel.org> 3 * Copyright 2016 Jonathan Cameron <jic23@kernel.org>
3 * 4 *
4 * Licensed under the GPL-2.
5 *
6 * Based on a mashup of the hrtimer trigger and continuous sampling proposal of 5 * Based on a mashup of the hrtimer trigger and continuous sampling proposal of
7 * Gregor Boirie <gregor.boirie@parrot.com> 6 * Gregor Boirie <gregor.boirie@parrot.com>
8 * 7 *
diff --git a/drivers/iio/trigger/iio-trig-sysfs.c b/drivers/iio/trigger/iio-trig-sysfs.c
index 45c4897295d6..e09e58072872 100644
--- a/drivers/iio/trigger/iio-trig-sysfs.c
+++ b/drivers/iio/trigger/iio-trig-sysfs.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2011 Analog Devices Inc. 3 * Copyright 2011 Analog Devices Inc.
3 *
4 * Licensed under the GPL-2.
5 *
6 */ 4 */
7 5
8#include <linux/kernel.h> 6#include <linux/kernel.h>
diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c
index 2835fba71c33..4c05c70a8cf3 100644
--- a/drivers/input/keyboard/adp5589-keys.c
+++ b/drivers/input/keyboard/adp5589-keys.c
@@ -1,10 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Description: keypad driver for ADP5589, ADP5585 3 * Description: keypad driver for ADP5589, ADP5585
3 * I2C QWERTY Keypad and IO Expander 4 * I2C QWERTY Keypad and IO Expander
4 * Bugs: Enter bugs at http://blackfin.uclinux.org/ 5 * Bugs: Enter bugs at http://blackfin.uclinux.org/
5 * 6 *
6 * Copyright (C) 2010-2011 Analog Devices Inc. 7 * Copyright (C) 2010-2011 Analog Devices Inc.
7 * Licensed under the GPL-2.
8 */ 8 */
9 9
10#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/power/supply/adp5061.c b/drivers/power/supply/adp5061.c
index 939fd3d8fb1a..003557043ab3 100644
--- a/drivers/power/supply/adp5061.c
+++ b/drivers/power/supply/adp5061.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ADP5061 I2C Programmable Linear Battery Charger 3 * ADP5061 I2C Programmable Linear Battery Charger
3 * 4 *
4 * Copyright 2018 Analog Devices Inc. 5 * Copyright 2018 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/init.h> 8#include <linux/init.h>
diff --git a/drivers/spi/spi-axi-spi-engine.c b/drivers/spi/spi-axi-spi-engine.c
index 68cfc351b47f..3b1833e6c7ad 100644
--- a/drivers/spi/spi-axi-spi-engine.c
+++ b/drivers/spi/spi-axi-spi-engine.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * SPI-Engine SPI controller driver 3 * SPI-Engine SPI controller driver
3 * Copyright 2015 Analog Devices Inc. 4 * Copyright 2015 Analog Devices Inc.
4 * Author: Lars-Peter Clausen <lars@metafoo.de> 5 * Author: Lars-Peter Clausen <lars@metafoo.de>
5 *
6 * Licensed under the GPL-2.
7 */ 6 */
8 7
9#include <linux/clk.h> 8#include <linux/clk.h>