diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /drivers/iio | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio')
68 files changed, 68 insertions, 279 deletions
diff --git a/drivers/iio/accel/kxsd9.c b/drivers/iio/accel/kxsd9.c index 70c60db62247..0b876b2dc5bd 100644 --- a/drivers/iio/accel/kxsd9.c +++ b/drivers/iio/accel/kxsd9.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * kxsd9.c simple support for the Kionix KXSD9 3D | 3 | * kxsd9.c simple support for the Kionix KXSD9 3D |
3 | * accelerometer. | 4 | * accelerometer. |
4 | * | 5 | * |
5 | * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org> | 6 | * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org> |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * The i2c interface is very similar, so shouldn't be a problem once | 8 | * The i2c interface is very similar, so shouldn't be a problem once |
12 | * I have a suitable wire made up. | 9 | * I have a suitable wire made up. |
13 | * | 10 | * |
diff --git a/drivers/iio/accel/mma7455.h b/drivers/iio/accel/mma7455.h index 2b1152c53d4f..4e3fa988f690 100644 --- a/drivers/iio/accel/mma7455.h +++ b/drivers/iio/accel/mma7455.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * IIO accel driver for Freescale MMA7455L 3-axis 10-bit accelerometer | 3 | * IIO accel driver for Freescale MMA7455L 3-axis 10-bit accelerometer |
3 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> | 4 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #ifndef __MMA7455_H | 7 | #ifndef __MMA7455_H |
diff --git a/drivers/iio/accel/mma7455_core.c b/drivers/iio/accel/mma7455_core.c index da0ceaac46b5..8b5a6aff9bf4 100644 --- a/drivers/iio/accel/mma7455_core.c +++ b/drivers/iio/accel/mma7455_core.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer | 3 | * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer |
3 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> | 4 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * UNSUPPORTED hardware features: | 6 | * UNSUPPORTED hardware features: |
10 | * - 8-bit mode with different scales | 7 | * - 8-bit mode with different scales |
11 | * - INT1/INT2 interrupts | 8 | * - INT1/INT2 interrupts |
diff --git a/drivers/iio/accel/mma7455_i2c.c b/drivers/iio/accel/mma7455_i2c.c index 73bf81a8ab14..cddeaa9e230a 100644 --- a/drivers/iio/accel/mma7455_i2c.c +++ b/drivers/iio/accel/mma7455_i2c.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * IIO accel I2C driver for Freescale MMA7455L 3-axis 10-bit accelerometer | 3 | * IIO accel I2C driver for Freescale MMA7455L 3-axis 10-bit accelerometer |
3 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> | 4 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/i2c.h> | 7 | #include <linux/i2c.h> |
diff --git a/drivers/iio/accel/mma7455_spi.c b/drivers/iio/accel/mma7455_spi.c index 79df8f27cf99..eb82cdfa8abc 100644 --- a/drivers/iio/accel/mma7455_spi.c +++ b/drivers/iio/accel/mma7455_spi.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * IIO accel SPI driver for Freescale MMA7455L 3-axis 10-bit accelerometer | 3 | * IIO accel SPI driver for Freescale MMA7455L 3-axis 10-bit accelerometer |
3 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> | 4 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c index 4964561595f5..274ce2f8bddf 100644 --- a/drivers/iio/accel/sca3000.c +++ b/drivers/iio/accel/sca3000.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI | 3 | * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * Copyright (c) 2009 Jonathan Cameron <jic23@kernel.org> | 5 | * Copyright (c) 2009 Jonathan Cameron <jic23@kernel.org> |
9 | * | 6 | * |
10 | * See industrialio/accels/sca3000.h for comments. | 7 | * See industrialio/accels/sca3000.h for comments. |
diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c index 7a5b5d00a87d..5a3ca5904ded 100644 --- a/drivers/iio/adc/ad799x.c +++ b/drivers/iio/adc/ad799x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/adc/ad799x.c | 3 | * iio/adc/ad799x.c |
3 | * Copyright (C) 2010-2011 Michael Hennerich, Analog Devices Inc. | 4 | * Copyright (C) 2010-2011 Michael Hennerich, Analog Devices Inc. |
@@ -11,15 +12,10 @@ | |||
11 | * based on linux/drivers/acron/char/pcf8583.c | 12 | * based on linux/drivers/acron/char/pcf8583.c |
12 | * Copyright (C) 2000 Russell King | 13 | * Copyright (C) 2000 Russell King |
13 | * | 14 | * |
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | * | ||
18 | * ad799x.c | 15 | * ad799x.c |
19 | * | 16 | * |
20 | * Support for ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, | 17 | * Support for ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, |
21 | * ad7998 and similar chips. | 18 | * ad7998 and similar chips. |
22 | * | ||
23 | */ | 19 | */ |
24 | 20 | ||
25 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
diff --git a/drivers/iio/adc/axp20x_adc.c b/drivers/iio/adc/axp20x_adc.c index 5be789269353..88059480da17 100644 --- a/drivers/iio/adc/axp20x_adc.c +++ b/drivers/iio/adc/axp20x_adc.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* ADC driver for AXP20X and AXP22X PMICs | 2 | /* ADC driver for AXP20X and AXP22X PMICs |
2 | * | 3 | * |
3 | * Copyright (c) 2016 Free Electrons NextThing Co. | 4 | * Copyright (c) 2016 Free Electrons NextThing Co. |
4 | * Quentin Schulz <quentin.schulz@free-electrons.com> | 5 | * Quentin Schulz <quentin.schulz@free-electrons.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it under | ||
7 | * the terms of the GNU General Public License version 2 as published by the | ||
8 | * Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/completion.h> | 8 | #include <linux/completion.h> |
diff --git a/drivers/iio/adc/cc10001_adc.c b/drivers/iio/adc/cc10001_adc.c index 707d8b24b072..f93f1d93b80d 100644 --- a/drivers/iio/adc/cc10001_adc.c +++ b/drivers/iio/adc/cc10001_adc.c | |||
@@ -1,10 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2014-2015 Imagination Technologies Ltd. | 3 | * Copyright (c) 2014-2015 Imagination Technologies Ltd. |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | */ | 4 | */ |
9 | 5 | ||
10 | #include <linux/clk.h> | 6 | #include <linux/clk.h> |
diff --git a/drivers/iio/adc/ep93xx_adc.c b/drivers/iio/adc/ep93xx_adc.c index 5036c392cb20..5c97e8a511f2 100644 --- a/drivers/iio/adc/ep93xx_adc.c +++ b/drivers/iio/adc/ep93xx_adc.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs | 3 | * Driver for ADC module on the Cirrus Logic EP93xx series of SoCs |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Alexander Sverdlin | 5 | * Copyright (C) 2015 Alexander Sverdlin |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * The driver uses polling to get the conversion status. According to EP93xx | 7 | * The driver uses polling to get the conversion status. According to EP93xx |
11 | * datasheets, reading ADCResult register starts the conversion, but user is also | 8 | * datasheets, reading ADCResult register starts the conversion, but user is also |
12 | * responsible for ensuring that delay between adjacent conversion triggers is | 9 | * responsible for ensuring that delay between adjacent conversion triggers is |
diff --git a/drivers/iio/adc/fsl-imx25-gcq.c b/drivers/iio/adc/fsl-imx25-gcq.c index 929c617db364..df19ecae52f7 100644 --- a/drivers/iio/adc/fsl-imx25-gcq.c +++ b/drivers/iio/adc/fsl-imx25-gcq.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de> | 3 | * Copyright (C) 2014-2015 Pengutronix, Markus Pargmann <mpa@pengutronix.de> |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it under | ||
5 | * the terms of the GNU General Public License version 2 as published by the | ||
6 | * Free Software Foundation. | ||
7 | * | ||
8 | * This is the driver for the imx25 GCQ (Generic Conversion Queue) | 5 | * This is the driver for the imx25 GCQ (Generic Conversion Queue) |
9 | * connected to the imx25 ADC. | 6 | * connected to the imx25 ADC. |
10 | */ | 7 | */ |
diff --git a/drivers/iio/adc/lp8788_adc.c b/drivers/iio/adc/lp8788_adc.c index 3bc4df916420..c1fc1b678e0f 100644 --- a/drivers/iio/adc/lp8788_adc.c +++ b/drivers/iio/adc/lp8788_adc.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI LP8788 MFD - ADC driver | 3 | * TI LP8788 MFD - ADC driver |
3 | * | 4 | * |
4 | * Copyright 2012 Texas Instruments | 5 | * Copyright 2012 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
diff --git a/drivers/iio/adc/lpc18xx_adc.c b/drivers/iio/adc/lpc18xx_adc.c index 041dc4a3f66c..e400a95f553d 100644 --- a/drivers/iio/adc/lpc18xx_adc.c +++ b/drivers/iio/adc/lpc18xx_adc.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * IIO ADC driver for NXP LPC18xx ADC | 3 | * IIO ADC driver for NXP LPC18xx ADC |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com> | 5 | * Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * UNSUPPORTED hardware features: | 7 | * UNSUPPORTED hardware features: |
11 | * - Hardware triggers | 8 | * - Hardware triggers |
12 | * - Burst mode | 9 | * - Burst mode |
diff --git a/drivers/iio/adc/ltc2485.c b/drivers/iio/adc/ltc2485.c index b24c14037fd4..c418466d51fd 100644 --- a/drivers/iio/adc/ltc2485.c +++ b/drivers/iio/adc/ltc2485.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ltc2485.c - Driver for Linear Technology LTC2485 ADC | 3 | * ltc2485.c - Driver for Linear Technology LTC2485 ADC |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com> | 5 | * Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Datasheet: http://cds.linear.com/docs/en/datasheet/2485fd.pdf | 7 | * Datasheet: http://cds.linear.com/docs/en/datasheet/2485fd.pdf |
11 | */ | 8 | */ |
12 | 9 | ||
diff --git a/drivers/iio/adc/max1027.c b/drivers/iio/adc/max1027.c index 311c1a89c329..da84adfdb819 100644 --- a/drivers/iio/adc/max1027.c +++ b/drivers/iio/adc/max1027.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/adc/max1027.c | 3 | * iio/adc/max1027.c |
3 | * Copyright (C) 2014 Philippe Reynes | 4 | * Copyright (C) 2014 Philippe Reynes |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright 2011 Analog Devices Inc (from AD7923 Driver) | 7 | * Copyright 2011 Analog Devices Inc (from AD7923 Driver) |
7 | * Copyright 2012 CS Systemes d'Information | 8 | * Copyright 2012 CS Systemes d'Information |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | * max1027.c | 10 | * max1027.c |
14 | * | 11 | * |
15 | * Partial support for max1027 and similar chips. | 12 | * Partial support for max1027 and similar chips. |
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c index a8d35aebee80..5c2cc61b666e 100644 --- a/drivers/iio/adc/max1363.c +++ b/drivers/iio/adc/max1363.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/adc/max1363.c | 3 | * iio/adc/max1363.c |
3 | * Copyright (C) 2008-2010 Jonathan Cameron | 4 | * Copyright (C) 2008-2010 Jonathan Cameron |
@@ -9,10 +10,6 @@ | |||
9 | * Copyright (C) 2000 Russell King | 10 | * Copyright (C) 2000 Russell King |
10 | * | 11 | * |
11 | * Driver for max1363 and similar chips. | 12 | * Driver for max1363 and similar chips. |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/interrupt.h> | 15 | #include <linux/interrupt.h> |
diff --git a/drivers/iio/adc/mcp320x.c b/drivers/iio/adc/mcp320x.c index a04856d8afdb..38bf10085696 100644 --- a/drivers/iio/adc/mcp320x.c +++ b/drivers/iio/adc/mcp320x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013 Oskar Andero <oskar.andero@gmail.com> | 3 | * Copyright (C) 2013 Oskar Andero <oskar.andero@gmail.com> |
3 | * Copyright (C) 2014 Rose Technology | 4 | * Copyright (C) 2014 Rose Technology |
@@ -34,10 +35,6 @@ | |||
34 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21298c.pdf mcp3204/08 | 35 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21298c.pdf mcp3204/08 |
35 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21700E.pdf mcp3301 | 36 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21700E.pdf mcp3301 |
36 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21950D.pdf mcp3550/1/3 | 37 | * http://ww1.microchip.com/downloads/en/DeviceDoc/21950D.pdf mcp3550/1/3 |
37 | * | ||
38 | * This program is free software; you can redistribute it and/or modify | ||
39 | * it under the terms of the GNU General Public License version 2 as | ||
40 | * published by the Free Software Foundation. | ||
41 | */ | 38 | */ |
42 | 39 | ||
43 | #include <linux/err.h> | 40 | #include <linux/err.h> |
diff --git a/drivers/iio/adc/sun4i-gpadc-iio.c b/drivers/iio/adc/sun4i-gpadc-iio.c index 04d7147e0110..a09e7f5dd8f7 100644 --- a/drivers/iio/adc/sun4i-gpadc-iio.c +++ b/drivers/iio/adc/sun4i-gpadc-iio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* ADC driver for sunxi platforms' (A10, A13 and A31) GPADC | 2 | /* ADC driver for sunxi platforms' (A10, A13 and A31) GPADC |
2 | * | 3 | * |
3 | * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> | 4 | * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it under | ||
6 | * the terms of the GNU General Public License version 2 as published by the | ||
7 | * Free Software Foundation. | ||
8 | * | ||
9 | * The Allwinner SoCs all have an ADC that can also act as a touchscreen | 6 | * The Allwinner SoCs all have an ADC that can also act as a touchscreen |
10 | * controller and a thermal sensor. | 7 | * controller and a thermal sensor. |
11 | * The thermal sensor works only when the ADC acts as a touchscreen controller | 8 | * The thermal sensor works only when the ADC acts as a touchscreen controller |
diff --git a/drivers/iio/adc/ti-adc081c.c b/drivers/iio/adc/ti-adc081c.c index 405e3779c0c5..0235863ff77b 100644 --- a/drivers/iio/adc/ti-adc081c.c +++ b/drivers/iio/adc/ti-adc081c.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI ADC081C/ADC101C/ADC121C 8/10/12-bit ADC driver | 3 | * TI ADC081C/ADC101C/ADC121C 8/10/12-bit ADC driver |
3 | * | 4 | * |
4 | * Copyright (C) 2012 Avionic Design GmbH | 5 | * Copyright (C) 2012 Avionic Design GmbH |
5 | * Copyright (C) 2016 Intel | 6 | * Copyright (C) 2016 Intel |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Datasheets: | 8 | * Datasheets: |
12 | * http://www.ti.com/lit/ds/symlink/adc081c021.pdf | 9 | * http://www.ti.com/lit/ds/symlink/adc081c021.pdf |
13 | * http://www.ti.com/lit/ds/symlink/adc101c021.pdf | 10 | * http://www.ti.com/lit/ds/symlink/adc101c021.pdf |
diff --git a/drivers/iio/adc/ti-adc084s021.c b/drivers/iio/adc/ti-adc084s021.c index 25504640e126..bdedf456ee05 100644 --- a/drivers/iio/adc/ti-adc084s021.c +++ b/drivers/iio/adc/ti-adc084s021.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (C) 2017 Axis Communications AB | 3 | * Copyright (C) 2017 Axis Communications AB |
3 | * | 4 | * |
4 | * Driver for Texas Instruments' ADC084S021 ADC chip. | 5 | * Driver for Texas Instruments' ADC084S021 ADC chip. |
5 | * Datasheets can be found here: | 6 | * Datasheets can be found here: |
6 | * http://www.ti.com/lit/ds/symlink/adc084s021.pdf | 7 | * http://www.ti.com/lit/ds/symlink/adc084s021.pdf |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/err.h> | 10 | #include <linux/err.h> |
diff --git a/drivers/iio/adc/ti-ads8688.c b/drivers/iio/adc/ti-ads8688.c index 8cb7a2034982..14fe7c320b52 100644 --- a/drivers/iio/adc/ti-ads8688.c +++ b/drivers/iio/adc/ti-ads8688.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Prevas A/S | 3 | * Copyright (C) 2015 Prevas A/S |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/device.h> | 6 | #include <linux/device.h> |
diff --git a/drivers/iio/adc/ti-tlc4541.c b/drivers/iio/adc/ti-tlc4541.c index 2290024c89fc..4965246808bd 100644 --- a/drivers/iio/adc/ti-tlc4541.c +++ b/drivers/iio/adc/ti-tlc4541.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI tlc4541 ADC Driver | 3 | * TI tlc4541 ADC Driver |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * http://www.ti.com/lit/gpn/tlc3541 | 8 | * http://www.ti.com/lit/gpn/tlc3541 |
8 | * http://www.ti.com/lit/gpn/tlc4541 | 9 | * http://www.ti.com/lit/gpn/tlc4541 |
9 | * | 10 | * |
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | * The tlc4541 requires 24 clock cycles to start a transfer. | 11 | * The tlc4541 requires 24 clock cycles to start a transfer. |
15 | * Conversion then takes 2.94us to complete before data is ready | 12 | * Conversion then takes 2.94us to complete before data is ready |
16 | * Data is returned MSB first. | 13 | * Data is returned MSB first. |
diff --git a/drivers/iio/buffer/industrialio-buffer-cb.c b/drivers/iio/buffer/industrialio-buffer-cb.c index df21e7dbec40..47c96f7f4976 100644 --- a/drivers/iio/buffer/industrialio-buffer-cb.c +++ b/drivers/iio/buffer/industrialio-buffer-cb.c | |||
@@ -1,8 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* The industrial I/O callback buffer | 2 | /* The industrial I/O callback buffer |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or modify it | ||
4 | * under the terms of the GNU General Public License version 2 as published by | ||
5 | * the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | 4 | ||
8 | #include <linux/kernel.h> | 5 | #include <linux/kernel.h> |
diff --git a/drivers/iio/buffer/industrialio-triggered-buffer.c b/drivers/iio/buffer/industrialio-triggered-buffer.c index d3db1fce54d2..cb322b2f09cd 100644 --- a/drivers/iio/buffer/industrialio-triggered-buffer.c +++ b/drivers/iio/buffer/industrialio-triggered-buffer.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2012 Analog Devices, Inc. | 3 | * Copyright (c) 2012 Analog Devices, Inc. |
3 | * Author: Lars-Peter Clausen <lars@metafoo.de> | 4 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/iio/chemical/ccs811.c b/drivers/iio/chemical/ccs811.c index b4a46eb45789..2ebdfc35bcda 100644 --- a/drivers/iio/chemical/ccs811.c +++ b/drivers/iio/chemical/ccs811.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ccs811.c - Support for AMS CCS811 VOC Sensor | 3 | * ccs811.c - Support for AMS CCS811 VOC Sensor |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Datasheet: ams.com/content/download/951091/2269479/CCS811_DS000459_3-00.pdf | 7 | * Datasheet: ams.com/content/download/951091/2269479/CCS811_DS000459_3-00.pdf |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * IIO driver for AMS CCS811 (I2C address 0x5A/0x5B set by ADDR Low/High) | 9 | * IIO driver for AMS CCS811 (I2C address 0x5A/0x5B set by ADDR Low/High) |
13 | * | 10 | * |
14 | * TODO: | 11 | * TODO: |
diff --git a/drivers/iio/common/ms_sensors/ms_sensors_i2c.h b/drivers/iio/common/ms_sensors/ms_sensors_i2c.h index 7b614adc5cae..bad09c80e47a 100644 --- a/drivers/iio/common/ms_sensors/ms_sensors_i2c.h +++ b/drivers/iio/common/ms_sensors/ms_sensors_i2c.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Measurements Specialties common sensor driver | 3 | * Measurements Specialties common sensor driver |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Measurement-Specialties | 5 | * Copyright (c) 2015 Measurement-Specialties |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _MS_SENSORS_I2C_H | 8 | #ifndef _MS_SENSORS_I2C_H |
diff --git a/drivers/iio/dac/ds4424.c b/drivers/iio/dac/ds4424.c index 714a97f91319..030c51363ad8 100644 --- a/drivers/iio/dac/ds4424.c +++ b/drivers/iio/dac/ds4424.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Maxim Integrated | 3 | * Maxim Integrated |
3 | * 7-bit, Multi-Channel Sink/Source Current DAC Driver | 4 | * 7-bit, Multi-Channel Sink/Source Current DAC Driver |
4 | * Copyright (C) 2017 Maxim Integrated | 5 | * Copyright (C) 2017 Maxim Integrated |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/iio/dac/lpc18xx_dac.c b/drivers/iio/dac/lpc18xx_dac.c index 7036f77fdf23..883e84e96609 100644 --- a/drivers/iio/dac/lpc18xx_dac.c +++ b/drivers/iio/dac/lpc18xx_dac.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * IIO DAC driver for NXP LPC18xx DAC | 3 | * IIO DAC driver for NXP LPC18xx DAC |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com> | 5 | * Copyright (C) 2016 Joachim Eastwood <manabian@gmail.com> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * UNSUPPORTED hardware features: | 7 | * UNSUPPORTED hardware features: |
11 | * - Interrupts | 8 | * - Interrupts |
12 | * - DMA | 9 | * - DMA |
diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index f0cf6903dcd2..2da086e372af 100644 --- a/drivers/iio/dac/max5821.c +++ b/drivers/iio/dac/max5821.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * iio/dac/max5821.c | 3 | * iio/dac/max5821.c |
3 | * Copyright (C) 2014 Philippe Reynes | 4 | * Copyright (C) 2014 Philippe Reynes |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/iio/dac/ti-dac082s085.c b/drivers/iio/dac/ti-dac082s085.c index 4e1e28339c84..57b498d2a2a5 100644 --- a/drivers/iio/dac/ti-dac082s085.c +++ b/drivers/iio/dac/ti-dac082s085.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ti-dac082s085.c - Texas Instruments 8/10/12-bit 2/4-channel DAC driver | 3 | * ti-dac082s085.c - Texas Instruments 8/10/12-bit 2/4-channel DAC driver |
3 | * | 4 | * |
@@ -9,10 +10,6 @@ | |||
9 | * http://www.ti.com/lit/ds/symlink/dac084s085.pdf | 10 | * http://www.ti.com/lit/ds/symlink/dac084s085.pdf |
10 | * http://www.ti.com/lit/ds/symlink/dac104s085.pdf | 11 | * http://www.ti.com/lit/ds/symlink/dac104s085.pdf |
11 | * http://www.ti.com/lit/ds/symlink/dac124s085.pdf | 12 | * http://www.ti.com/lit/ds/symlink/dac124s085.pdf |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License (version 2) as | ||
15 | * published by the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/iio/iio.h> | 15 | #include <linux/iio/iio.h> |
diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c index 891e9cac019e..3a2bb0efe50d 100644 --- a/drivers/iio/dac/ti-dac5571.c +++ b/drivers/iio/dac/ti-dac5571.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ti-dac5571.c - Texas Instruments 8/10/12-bit 1/4-channel DAC driver | 3 | * ti-dac5571.c - Texas Instruments 8/10/12-bit 1/4-channel DAC driver |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * http://www.ti.com/lit/ds/symlink/dac5573.pdf | 13 | * http://www.ti.com/lit/ds/symlink/dac5573.pdf |
13 | * http://www.ti.com/lit/ds/symlink/dac6573.pdf | 14 | * http://www.ti.com/lit/ds/symlink/dac6573.pdf |
14 | * http://www.ti.com/lit/ds/symlink/dac7573.pdf | 15 | * http://www.ti.com/lit/ds/symlink/dac7573.pdf |
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License (version 2) as | ||
18 | * published by the Free Software Foundation. | ||
19 | */ | 16 | */ |
20 | 17 | ||
21 | #include <linux/iio/iio.h> | 18 | #include <linux/iio/iio.h> |
diff --git a/drivers/iio/dummy/iio_dummy_evgen.c b/drivers/iio/dummy/iio_dummy_evgen.c index c6033e341963..a6edf30567aa 100644 --- a/drivers/iio/dummy/iio_dummy_evgen.c +++ b/drivers/iio/dummy/iio_dummy_evgen.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (c) 2011 Jonathan Cameron | 3 | * Copyright (c) 2011 Jonathan Cameron |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * Companion module to the iio simple dummy example driver. | 5 | * Companion module to the iio simple dummy example driver. |
9 | * The purpose of this is to generate 'fake' event interrupts thus | 6 | * The purpose of this is to generate 'fake' event interrupts thus |
10 | * allowing that driver's code to be as close as possible to that of | 7 | * allowing that driver's code to be as close as possible to that of |
diff --git a/drivers/iio/dummy/iio_simple_dummy.c b/drivers/iio/dummy/iio_simple_dummy.c index 62052479c349..8f99c005458a 100644 --- a/drivers/iio/dummy/iio_simple_dummy.c +++ b/drivers/iio/dummy/iio_simple_dummy.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (c) 2011 Jonathan Cameron | 3 | * Copyright (c) 2011 Jonathan Cameron |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * A reference industrial I/O driver to illustrate the functionality available. | 5 | * A reference industrial I/O driver to illustrate the functionality available. |
9 | * | 6 | * |
10 | * There are numerous real drivers to illustrate the finer points. | 7 | * There are numerous real drivers to illustrate the finer points. |
diff --git a/drivers/iio/dummy/iio_simple_dummy.h b/drivers/iio/dummy/iio_simple_dummy.h index f7005c3f5df3..a91622ac54e0 100644 --- a/drivers/iio/dummy/iio_simple_dummy.h +++ b/drivers/iio/dummy/iio_simple_dummy.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /** | 2 | /** |
2 | * Copyright (c) 2011 Jonathan Cameron | 3 | * Copyright (c) 2011 Jonathan Cameron |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * Join together the various functionality of iio_simple_dummy driver | 5 | * Join together the various functionality of iio_simple_dummy driver |
9 | */ | 6 | */ |
10 | 7 | ||
diff --git a/drivers/iio/dummy/iio_simple_dummy_buffer.c b/drivers/iio/dummy/iio_simple_dummy_buffer.c index 744ca92c3c99..17606eca42b4 100644 --- a/drivers/iio/dummy/iio_simple_dummy_buffer.c +++ b/drivers/iio/dummy/iio_simple_dummy_buffer.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (c) 2011 Jonathan Cameron | 3 | * Copyright (c) 2011 Jonathan Cameron |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * Buffer handling elements of industrial I/O reference driver. | 5 | * Buffer handling elements of industrial I/O reference driver. |
9 | * Uses the kfifo buffer. | 6 | * Uses the kfifo buffer. |
10 | * | 7 | * |
diff --git a/drivers/iio/dummy/iio_simple_dummy_events.c b/drivers/iio/dummy/iio_simple_dummy_events.c index 7ec2a0bb0807..b3abaaca6f5e 100644 --- a/drivers/iio/dummy/iio_simple_dummy_events.c +++ b/drivers/iio/dummy/iio_simple_dummy_events.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * Copyright (c) 2011 Jonathan Cameron | 3 | * Copyright (c) 2011 Jonathan Cameron |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 2 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | * Event handling elements of industrial I/O reference driver. | 5 | * Event handling elements of industrial I/O reference driver. |
9 | */ | 6 | */ |
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/iio/gyro/itg3200_buffer.c b/drivers/iio/gyro/itg3200_buffer.c index 59770e5b6660..d3fbe9d86467 100644 --- a/drivers/iio/gyro/itg3200_buffer.c +++ b/drivers/iio/gyro/itg3200_buffer.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * itg3200_buffer.c -- support InvenSense ITG3200 | 3 | * itg3200_buffer.c -- support InvenSense ITG3200 |
3 | * Digital 3-Axis Gyroscope driver | 4 | * Digital 3-Axis Gyroscope driver |
@@ -5,10 +6,6 @@ | |||
5 | * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de> | 6 | * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de> |
6 | * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> | 7 | * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
7 | * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> | 8 | * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c index 203a6be33b70..998fb8d66fe3 100644 --- a/drivers/iio/gyro/itg3200_core.c +++ b/drivers/iio/gyro/itg3200_core.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * itg3200_core.c -- support InvenSense ITG3200 | 3 | * itg3200_core.c -- support InvenSense ITG3200 |
3 | * Digital 3-Axis Gyroscope driver | 4 | * Digital 3-Axis Gyroscope driver |
@@ -6,10 +7,6 @@ | |||
6 | * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> | 7 | * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
7 | * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> | 8 | * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | * TODO: | 10 | * TODO: |
14 | * - Support digital low pass filter | 11 | * - Support digital low pass filter |
15 | * - Support power management | 12 | * - Support power management |
diff --git a/drivers/iio/iio_core.h b/drivers/iio/iio_core.h index c775fedbcaf6..159ea3f8c02b 100644 --- a/drivers/iio/iio_core.h +++ b/drivers/iio/iio_core.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* The industrial I/O core function defs. | 2 | /* The industrial I/O core function defs. |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | * | ||
9 | * These definitions are meant for use only within the IIO core, not individual | 6 | * These definitions are meant for use only within the IIO core, not individual |
10 | * drivers. | 7 | * drivers. |
11 | */ | 8 | */ |
diff --git a/drivers/iio/iio_core_trigger.h b/drivers/iio/iio_core_trigger.h index 1fdb1e4ea4a5..e59fe2f36bbb 100644 --- a/drivers/iio/iio_core_trigger.h +++ b/drivers/iio/iio_core_trigger.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | 2 | ||
2 | /* The industrial I/O core, trigger consumer handling functions | 3 | /* The industrial I/O core, trigger consumer handling functions |
3 | * | 4 | * |
4 | * Copyright (c) 2008 Jonathan Cameron | 5 | * Copyright (c) 2008 Jonathan Cameron |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifdef CONFIG_IIO_TRIGGER | 8 | #ifdef CONFIG_IIO_TRIGGER |
diff --git a/drivers/iio/imu/adis16400.c b/drivers/iio/imu/adis16400.c index beb6919e7180..0575ff706bd4 100644 --- a/drivers/iio/imu/adis16400.c +++ b/drivers/iio/imu/adis16400.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * adis16400.c support Analog Devices ADIS16400/5 | 3 | * adis16400.c support Analog Devices ADIS16400/5 |
3 | * 3d 2g Linear Accelerometers, | 4 | * 3d 2g Linear Accelerometers, |
@@ -7,11 +8,6 @@ | |||
7 | * Copyright (c) 2009 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> | 8 | * Copyright (c) 2009 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
8 | * Copyright (c) 2007 Jonathan Cameron <jic23@kernel.org> | 9 | * Copyright (c) 2007 Jonathan Cameron <jic23@kernel.org> |
9 | * Copyright (c) 2011 Analog Devices Inc. | 10 | * Copyright (c) 2011 Analog Devices Inc. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | * | ||
15 | */ | 11 | */ |
16 | 12 | ||
17 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c index ab137c1bbe7b..b99d73887c9f 100644 --- a/drivers/iio/imu/adis16480.c +++ b/drivers/iio/imu/adis16480.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ADIS16480 and similar IMUs driver | 3 | * ADIS16480 and similar IMUs driver |
3 | * | 4 | * |
4 | * Copyright 2012 Analog Devices Inc. | 5 | * Copyright 2012 Analog Devices Inc. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include <linux/clk.h> | 8 | #include <linux/clk.h> |
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c index 4fa273002c03..c193d64e5217 100644 --- a/drivers/iio/industrialio-buffer.c +++ b/drivers/iio/industrialio-buffer.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* The industrial I/O core | 2 | /* The industrial I/O core |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | * | ||
9 | * Handling of buffer allocation / resizing. | 6 | * Handling of buffer allocation / resizing. |
10 | * | 7 | * |
11 | * | ||
12 | * Things to look at here. | 8 | * Things to look at here. |
13 | * - Better memory allocation techniques? | 9 | * - Better memory allocation techniques? |
14 | * - Alternative access techniques? | 10 | * - Alternative access techniques? |
diff --git a/drivers/iio/industrialio-configfs.c b/drivers/iio/industrialio-configfs.c index 5a0aae119369..47900de1f105 100644 --- a/drivers/iio/industrialio-configfs.c +++ b/drivers/iio/industrialio-configfs.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Industrial I/O configfs bits | 3 | * Industrial I/O configfs bits |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Intel Corporation | 5 | * Copyright (c) 2015 Intel Corporation |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/configfs.h> | 8 | #include <linux/configfs.h> |
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index f5a4581302f4..245b5844028d 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* The industrial I/O core | 2 | /* The industrial I/O core |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | * | ||
9 | * Based on elements of hwmon and input subsystems. | 6 | * Based on elements of hwmon and input subsystems. |
10 | */ | 7 | */ |
11 | 8 | ||
diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c index c6dfdf0aaac5..5b17c92d3b50 100644 --- a/drivers/iio/industrialio-event.c +++ b/drivers/iio/industrialio-event.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Industrial I/O event handling | 2 | /* Industrial I/O event handling |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | * | ||
9 | * Based on elements of hwmon and input subsystems. | 6 | * Based on elements of hwmon and input subsystems. |
10 | */ | 7 | */ |
11 | 8 | ||
diff --git a/drivers/iio/industrialio-sw-device.c b/drivers/iio/industrialio-sw-device.c index 90df97c542f6..49f775f16ad5 100644 --- a/drivers/iio/industrialio-sw-device.c +++ b/drivers/iio/industrialio-sw-device.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * The Industrial I/O core, software IIO devices functions | 3 | * The Industrial I/O core, software IIO devices functions |
3 | * | 4 | * |
4 | * Copyright (c) 2016 Intel Corporation | 5 | * Copyright (c) 2016 Intel Corporation |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/iio/industrialio-sw-trigger.c b/drivers/iio/industrialio-sw-trigger.c index bc6b7fb43e3a..9ae793a70b8b 100644 --- a/drivers/iio/industrialio-sw-trigger.c +++ b/drivers/iio/industrialio-sw-trigger.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * The Industrial I/O core, software trigger functions | 3 | * The Industrial I/O core, software trigger functions |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Intel Corporation | 5 | * Copyright (c) 2015 Intel Corporation |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/iio/industrialio-trigger.c b/drivers/iio/industrialio-trigger.c index e5b538379ed1..3908a9a90035 100644 --- a/drivers/iio/industrialio-trigger.c +++ b/drivers/iio/industrialio-trigger.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* The industrial I/O core, trigger handling functions | 2 | /* The industrial I/O core, trigger handling functions |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index 4a5eff3f18bc..2fb2314548e9 100644 --- a/drivers/iio/inkern.c +++ b/drivers/iio/inkern.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* The industrial I/O core in kernel channel mapping | 2 | /* The industrial I/O core in kernel channel mapping |
2 | * | 3 | * |
3 | * Copyright (c) 2011 Jonathan Cameron | 4 | * Copyright (c) 2011 Jonathan Cameron |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | #include <linux/err.h> | 6 | #include <linux/err.h> |
10 | #include <linux/export.h> | 7 | #include <linux/export.h> |
diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c index aebf7dd071af..5f4fb5674fa0 100644 --- a/drivers/iio/light/cm32181.c +++ b/drivers/iio/light/cm32181.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013 Capella Microsystems Inc. | 3 | * Copyright (C) 2013 Capella Microsystems Inc. |
3 | * Author: Kevin Tsai <ktsai@capellamicro.com> | 4 | * Author: Kevin Tsai <ktsai@capellamicro.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2, as published | ||
7 | * by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/delay.h> | 7 | #include <linux/delay.h> |
diff --git a/drivers/iio/light/cm3232.c b/drivers/iio/light/cm3232.c index c639cf276ee6..cd3cfb7d02bd 100644 --- a/drivers/iio/light/cm3232.c +++ b/drivers/iio/light/cm3232.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * CM3232 Ambient Light Sensor | 3 | * CM3232 Ambient Light Sensor |
3 | * | 4 | * |
4 | * Copyright (C) 2014-2015 Capella Microsystems Inc. | 5 | * Copyright (C) 2014-2015 Capella Microsystems Inc. |
5 | * Author: Kevin Tsai <ktsai@capellamicro.com> | 6 | * Author: Kevin Tsai <ktsai@capellamicro.com> |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2, as published | ||
9 | * by the Free Software Foundation. | ||
10 | * | ||
11 | * IIO driver for CM3232 (7-bit I2C slave address 0x10). | 8 | * IIO driver for CM3232 (7-bit I2C slave address 0x10). |
12 | */ | 9 | */ |
13 | 10 | ||
diff --git a/drivers/iio/light/cm36651.c b/drivers/iio/light/cm36651.c index 1dd8ed0121b3..7702c2bcbcfa 100644 --- a/drivers/iio/light/cm36651.c +++ b/drivers/iio/light/cm36651.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. | 3 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. |
3 | * Author: Beomho Seo <beomho.seo@samsung.com> | 4 | * Author: Beomho Seo <beomho.seo@samsung.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2, as published | ||
7 | * by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/delay.h> | 7 | #include <linux/delay.h> |
diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c index 44b13fbcd093..4d70c5bf35da 100644 --- a/drivers/iio/light/gp2ap020a00f.c +++ b/drivers/iio/light/gp2ap020a00f.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. | 3 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. |
3 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> | 4 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> |
@@ -28,10 +29,6 @@ | |||
28 | * with any triggers or illuminance events. Enabling/disabling | 29 | * with any triggers or illuminance events. Enabling/disabling |
29 | * one of the proximity events automatically enables/disables | 30 | * one of the proximity events automatically enables/disables |
30 | * the other one. | 31 | * the other one. |
31 | * | ||
32 | * This program is free software; you can redistribute it and/or modify | ||
33 | * it under the terms of the GNU General Public License version 2, as | ||
34 | * published by the Free Software Foundation. | ||
35 | */ | 32 | */ |
36 | 33 | ||
37 | #include <linux/debugfs.h> | 34 | #include <linux/debugfs.h> |
diff --git a/drivers/iio/light/pa12203001.c b/drivers/iio/light/pa12203001.c index 30ea1a088dd9..0295783f036a 100644 --- a/drivers/iio/light/pa12203001.c +++ b/drivers/iio/light/pa12203001.c | |||
@@ -1,11 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2015 Intel Corporation | 3 | * Copyright (c) 2015 Intel Corporation |
3 | * | 4 | * |
4 | * Driver for TXC PA12203001 Proximity and Ambient Light Sensor. | 5 | * Driver for TXC PA12203001 Proximity and Ambient Light Sensor. |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * To do: Interrupt support. | 7 | * To do: Interrupt support. |
10 | */ | 8 | */ |
11 | 9 | ||
diff --git a/drivers/iio/magnetometer/hmc5843.h b/drivers/iio/magnetometer/hmc5843.h index e3e22d2508d3..b0dee87a8b20 100644 --- a/drivers/iio/magnetometer/hmc5843.h +++ b/drivers/iio/magnetometer/hmc5843.h | |||
@@ -1,12 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Header file for hmc5843 driver | 3 | * Header file for hmc5843 driver |
3 | * | 4 | * |
4 | * Split from hmc5843.c | 5 | * Split from hmc5843.c |
5 | * Copyright (C) Josef Gajdusek <atx@atx.name> | 6 | * Copyright (C) Josef Gajdusek <atx@atx.name> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #ifndef HMC5843_CORE_H | 9 | #ifndef HMC5843_CORE_H |
diff --git a/drivers/iio/magnetometer/hmc5843_i2c.c b/drivers/iio/magnetometer/hmc5843_i2c.c index 86abba5827a2..67fe657fdb3e 100644 --- a/drivers/iio/magnetometer/hmc5843_i2c.c +++ b/drivers/iio/magnetometer/hmc5843_i2c.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * i2c driver for hmc5843/5843/5883/5883l/5983 | 3 | * i2c driver for hmc5843/5843/5883/5883l/5983 |
3 | * | 4 | * |
4 | * Split from hmc5843.c | 5 | * Split from hmc5843.c |
5 | * Copyright (C) Josef Gajdusek <atx@atx.name> | 6 | * Copyright (C) Josef Gajdusek <atx@atx.name> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/iio/magnetometer/hmc5843_spi.c b/drivers/iio/magnetometer/hmc5843_spi.c index 79b2b707f90e..d827554c346e 100644 --- a/drivers/iio/magnetometer/hmc5843_spi.c +++ b/drivers/iio/magnetometer/hmc5843_spi.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * SPI driver for hmc5983 | 3 | * SPI driver for hmc5983 |
3 | * | 4 | * |
4 | * Copyright (C) Josef Gajdusek <atx@atx.name> | 5 | * Copyright (C) Josef Gajdusek <atx@atx.name> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/iio/potentiometer/ds1803.c b/drivers/iio/potentiometer/ds1803.c index 6bf12c9eccbd..d0de78232a93 100644 --- a/drivers/iio/potentiometer/ds1803.c +++ b/drivers/iio/potentiometer/ds1803.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Maxim Integrated DS1803 digital potentiometer driver | 3 | * Maxim Integrated DS1803 digital potentiometer driver |
3 | * Copyright (c) 2016 Slawomir Stepien | 4 | * Copyright (c) 2016 Slawomir Stepien |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * DEVID #Wipers #Positions Resistor Opts (kOhm) i2c address | 8 | * DEVID #Wipers #Positions Resistor Opts (kOhm) i2c address |
8 | * ds1803 2 256 10, 50, 100 0101xxx | 9 | * ds1803 2 256 10, 50, 100 0101xxx |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/err.h> | 12 | #include <linux/err.h> |
diff --git a/drivers/iio/potentiometer/max5481.c b/drivers/iio/potentiometer/max5481.c index 6d2f13fa5662..732375b6d131 100644 --- a/drivers/iio/potentiometer/max5481.c +++ b/drivers/iio/potentiometer/max5481.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Maxim Integrated MAX5481-MAX5484 digital potentiometer driver | 3 | * Maxim Integrated MAX5481-MAX5484 digital potentiometer driver |
3 | * Copyright 2016 Rockwell Collins | 4 | * Copyright 2016 Rockwell Collins |
4 | * | 5 | * |
5 | * Datasheet: | 6 | * Datasheet: |
6 | * http://datasheets.maximintegrated.com/en/ds/MAX5481-MAX5484.pdf | 7 | * http://datasheets.maximintegrated.com/en/ds/MAX5481-MAX5484.pdf |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the gnu general public license version 2 as | ||
10 | * published by the free software foundation. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/acpi.h> | 10 | #include <linux/acpi.h> |
diff --git a/drivers/iio/potentiometer/max5487.c b/drivers/iio/potentiometer/max5487.c index 5042d3e09b12..68ff806d4668 100644 --- a/drivers/iio/potentiometer/max5487.c +++ b/drivers/iio/potentiometer/max5487.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * max5487.c - Support for MAX5487, MAX5488, MAX5489 digital potentiometers | 3 | * max5487.c - Support for MAX5487, MAX5488, MAX5489 digital potentiometers |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Cristina-Gabriela Moraru <cristina.moraru09@gmail.com> | 5 | * Copyright (C) 2016 Cristina-Gabriela Moraru <cristina.moraru09@gmail.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | #include <linux/module.h> | 7 | #include <linux/module.h> |
12 | #include <linux/spi/spi.h> | 8 | #include <linux/spi/spi.h> |
diff --git a/drivers/iio/potentiometer/mcp4131.c b/drivers/iio/potentiometer/mcp4131.c index efe035ce010d..98df91e97f2f 100644 --- a/drivers/iio/potentiometer/mcp4131.c +++ b/drivers/iio/potentiometer/mcp4131.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Industrial I/O driver for Microchip digital potentiometers | 3 | * Industrial I/O driver for Microchip digital potentiometers |
3 | * | 4 | * |
@@ -23,10 +24,6 @@ | |||
23 | * mcp4252 2 257 5, 10, 50, 100 | 24 | * mcp4252 2 257 5, 10, 50, 100 |
24 | * mcp4261 2 257 5, 10, 50, 100 | 25 | * mcp4261 2 257 5, 10, 50, 100 |
25 | * mcp4262 2 257 5, 10, 50, 100 | 26 | * mcp4262 2 257 5, 10, 50, 100 |
26 | * | ||
27 | * This program is free software; you can redistribute it and/or modify it | ||
28 | * under the terms of the GNU General Public License version 2 as published by | ||
29 | * the Free Software Foundation. | ||
30 | */ | 27 | */ |
31 | 28 | ||
32 | /* | 29 | /* |
diff --git a/drivers/iio/pressure/bmp280-core.c b/drivers/iio/pressure/bmp280-core.c index 3329d740c86c..8d0f15f27dc5 100644 --- a/drivers/iio/pressure/bmp280-core.c +++ b/drivers/iio/pressure/bmp280-core.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2010 Christoph Mair <christoph.mair@gmail.com> | 3 | * Copyright (c) 2010 Christoph Mair <christoph.mair@gmail.com> |
3 | * Copyright (c) 2012 Bosch Sensortec GmbH | 4 | * Copyright (c) 2012 Bosch Sensortec GmbH |
@@ -7,10 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Driver for Bosch Sensortec BMP180 and BMP280 digital pressure sensor. | 9 | * Driver for Bosch Sensortec BMP180 and BMP280 digital pressure sensor. |
9 | * | 10 | * |
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | * Datasheet: | 11 | * Datasheet: |
15 | * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP180-DS000-121.pdf | 12 | * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP180-DS000-121.pdf |
16 | * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001-12.pdf | 13 | * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001-12.pdf |
diff --git a/drivers/iio/pressure/hp03.c b/drivers/iio/pressure/hp03.c index 406934ea6228..f00102577fd5 100644 --- a/drivers/iio/pressure/hp03.c +++ b/drivers/iio/pressure/hp03.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2016 Marek Vasut <marex@denx.de> | 3 | * Copyright (c) 2016 Marek Vasut <marex@denx.de> |
3 | * | 4 | * |
4 | * Driver for Hope RF HP03 digital temperature and pressure sensor. | 5 | * Driver for Hope RF HP03 digital temperature and pressure sensor. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define pr_fmt(fmt) "hp03: " fmt | 8 | #define pr_fmt(fmt) "hp03: " fmt |
diff --git a/drivers/iio/proximity/sx9500.c b/drivers/iio/proximity/sx9500.c index ff80409e0c44..612f79c53cfc 100644 --- a/drivers/iio/proximity/sx9500.c +++ b/drivers/iio/proximity/sx9500.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2014 Intel Corporation | 3 | * Copyright (c) 2014 Intel Corporation |
3 | * | 4 | * |
4 | * Driver for Semtech's SX9500 capacitive proximity/button solution. | 5 | * Driver for Semtech's SX9500 capacitive proximity/button solution. |
5 | * Datasheet available at | 6 | * Datasheet available at |
6 | * <http://www.semtech.com/images/datasheet/sx9500.pdf>. | 7 | * <http://www.semtech.com/images/datasheet/sx9500.pdf>. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/iio/resolver/ad2s1200.c b/drivers/iio/resolver/ad2s1200.c index 28e618af9939..17b89623418c 100644 --- a/drivers/iio/resolver/ad2s1200.c +++ b/drivers/iio/resolver/ad2s1200.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ad2s1200.c simple support for the ADI Resolver to Digital Converters: | 3 | * ad2s1200.c simple support for the ADI Resolver to Digital Converters: |
3 | * AD2S1200/1205 | 4 | * AD2S1200/1205 |
4 | * | 5 | * |
5 | * Copyright (c) 2018-2018 David Veenstra <davidjulianveenstra@gmail.com> | 6 | * Copyright (c) 2018-2018 David Veenstra <davidjulianveenstra@gmail.com> |
6 | * Copyright (c) 2010-2010 Analog Devices Inc. | 7 | * Copyright (c) 2010-2010 Analog Devices Inc. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/bitops.h> | 10 | #include <linux/bitops.h> |
diff --git a/drivers/iio/trigger/iio-trig-hrtimer.c b/drivers/iio/trigger/iio-trig-hrtimer.c index 7accd0187ba1..a5e670726717 100644 --- a/drivers/iio/trigger/iio-trig-hrtimer.c +++ b/drivers/iio/trigger/iio-trig-hrtimer.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /** | 2 | /** |
2 | * The industrial I/O periodic hrtimer trigger driver | 3 | * The industrial I/O periodic hrtimer trigger driver |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * Copyright (C) 2012, Analog Device Inc. | 7 | * Copyright (C) 2012, Analog Device Inc. |
7 | * Author: Lars-Peter Clausen <lars@metafoo.de> | 8 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
8 | * Copyright (C) 2015, Intel Corporation | 9 | * Copyright (C) 2015, Intel Corporation |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | * | ||
14 | */ | 10 | */ |
15 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
16 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
diff --git a/drivers/iio/trigger/iio-trig-interrupt.c b/drivers/iio/trigger/iio-trig-interrupt.c index 171c4ed03543..94a487caf421 100644 --- a/drivers/iio/trigger/iio-trig-interrupt.c +++ b/drivers/iio/trigger/iio-trig-interrupt.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Industrial I/O - generic interrupt based trigger support | 3 | * Industrial I/O - generic interrupt based trigger support |
3 | * | 4 | * |
4 | * Copyright (c) 2008-2013 Jonathan Cameron | 5 | * Copyright (c) 2008-2013 Jonathan Cameron |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |