All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Winslow <swinslow@linuxfoundation.org>
To: linux-spdx@vger.kernel.org
Subject: Re: [Batch 9 patch 02/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177
Date: Tue, 28 May 2019 22:18:22 -0400	[thread overview]
Message-ID: <CAL8Xim41QQBxqPAHcQN48h-WR7MzUmxNtE2VHrC5h5CW3yyOwQ@mail.gmail.com> (raw)
In-Reply-To: <20190528170026.071193225@linutronix.de>

Reviewed-by: Steve Winslow <swinslow@gmail.com>

On Tue, May 28, 2019 at 1:16 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> From: Thomas Gleixner tglx@linutronix.de
>
> 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>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch9&id=59da476f95fa
> ---
>  drivers/clk/clk-axi-clkgen.c                       |    4 +---
>  drivers/crypto/sunxi-ss/sun4i-ss.h                 |    3 +--
>  drivers/dma/dma-axi-dmac.c                         |    3 +--
>  drivers/gpu/drm/bridge/adv7511/adv7511.h           |    3 +--
>  drivers/gpu/drm/bridge/adv7511/adv7511_audio.c     |    3 +--
>  drivers/gpu/drm/bridge/adv7511/adv7511_drv.c       |    3 +--
>  drivers/i2c/muxes/i2c-mux-ltc4306.c                |    3 +--
>  drivers/iio/accel/st_accel.h                       |    2 +-
>  drivers/iio/accel/st_accel_buffer.c                |    3 +--
>  drivers/iio/accel/st_accel_core.c                  |    3 +--
>  drivers/iio/accel/st_accel_i2c.c                   |    3 +--
>  drivers/iio/accel/st_accel_spi.c                   |    3 +--
>  drivers/iio/adc/ad7266.c                           |    3 +--
>  drivers/iio/adc/ad7298.c                           |    3 +--
>  drivers/iio/adc/ad7791.c                           |    3 +--
>  drivers/iio/adc/ad7793.c                           |    3 +--
>  drivers/iio/adc/ad7887.c                           |    3 +--
>  drivers/iio/adc/ad7923.c                           |    3 +--
>  drivers/iio/adc/ad_sigma_delta.c                   |    3 +--
>  drivers/iio/adc/ltc2497.c                          |    3 +--
>  drivers/iio/adc/spear_adc.c                        |    3 +--
>  drivers/iio/adc/xilinx-xadc-core.c                 |    3 +--
>  drivers/iio/adc/xilinx-xadc-events.c               |    3 +--
>  drivers/iio/adc/xilinx-xadc.h                      |    3 +--
>  drivers/iio/amplifiers/ad8366.c                    |    3 +--
>  drivers/iio/buffer/industrialio-buffer-dma.c       |    3 +--
>  drivers/iio/common/ms_sensors/ms_sensors_i2c.c     |    3 +--
>  drivers/iio/common/st_sensors/st_sensors_buffer.c  |    3 +--
>  drivers/iio/common/st_sensors/st_sensors_core.c    |    3 +--
>  drivers/iio/common/st_sensors/st_sensors_i2c.c     |    3 +--
>  drivers/iio/common/st_sensors/st_sensors_spi.c     |    3 +--
>  drivers/iio/common/st_sensors/st_sensors_trigger.c |    3 +--
>  drivers/iio/dac/ad5064.c                           |    3 +--
>  drivers/iio/dac/ad5360.c                           |    3 +--
>  drivers/iio/dac/ad5380.c                           |    3 +--
>  drivers/iio/dac/ad5421.c                           |    3 +--
>  drivers/iio/dac/ad5449.c                           |    3 +--
>  drivers/iio/dac/ad5504.c                           |    3 +--
>  drivers/iio/dac/ad5592r-base.c                     |    3 +--
>  drivers/iio/dac/ad5592r-base.h                     |    3 +--
>  drivers/iio/dac/ad5592r.c                          |    3 +--
>  drivers/iio/dac/ad5593r.c                          |    3 +--
>  drivers/iio/dac/ad5624r.h                          |    3 +--
>  drivers/iio/dac/ad5624r_spi.c                      |    3 +--
>  drivers/iio/dac/ad5755.c                           |    3 +--
>  drivers/iio/dac/ad5761.c                           |    3 +--
>  drivers/iio/dac/ad5764.c                           |    3 +--
>  drivers/iio/dac/ad5791.c                           |    3 +--
>  drivers/iio/dac/ad7303.c                           |    3 +--
>  drivers/iio/dac/ltc2632.c                          |    3 +--
>  drivers/iio/frequency/ad9523.c                     |    3 +--
>  drivers/iio/frequency/adf4350.c                    |    3 +--
>  drivers/iio/gyro/adis16136.c                       |    3 +--
>  drivers/iio/gyro/adxrs450.c                        |    3 +--
>  drivers/iio/gyro/st_gyro.h                         |    2 +-
>  drivers/iio/gyro/st_gyro_buffer.c                  |    3 +--
>  drivers/iio/gyro/st_gyro_core.c                    |    3 +--
>  drivers/iio/gyro/st_gyro_i2c.c                     |    3 +--
>  drivers/iio/gyro/st_gyro_spi.c                     |    3 +--
>  drivers/iio/humidity/hts221.h                      |    3 +--
>  drivers/iio/humidity/hts221_buffer.c               |    3 +--
>  drivers/iio/humidity/hts221_core.c                 |    3 +--
>  drivers/iio/humidity/hts221_i2c.c                  |    3 +--
>  drivers/iio/humidity/hts221_spi.c                  |    3 +--
>  drivers/iio/humidity/htu21.c                       |    3 +--
>  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h            |    3 +--
>  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c     |    3 +--
>  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c       |    3 +--
>  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c        |    3 +--
>  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c        |    3 +--
>  drivers/iio/light/st_uvis25.h                      |    3 +--
>  drivers/iio/light/st_uvis25_core.c                 |    3 +--
>  drivers/iio/light/st_uvis25_i2c.c                  |    3 +--
>  drivers/iio/light/st_uvis25_spi.c                  |    3 +--
>  drivers/iio/magnetometer/st_magn.h                 |    2 +-
>  drivers/iio/magnetometer/st_magn_buffer.c          |    3 +--
>  drivers/iio/magnetometer/st_magn_core.c            |    3 +--
>  drivers/iio/magnetometer/st_magn_i2c.c             |    3 +--
>  drivers/iio/magnetometer/st_magn_spi.c             |    3 +--
>  drivers/iio/pressure/ms5637.c                      |    3 +--
>  drivers/iio/pressure/st_pressure.h                 |    2 +-
>  drivers/iio/pressure/st_pressure_buffer.c          |    3 +--
>  drivers/iio/pressure/st_pressure_core.c            |    3 +--
>  drivers/iio/pressure/st_pressure_i2c.c             |    3 +--
>  drivers/iio/pressure/st_pressure_spi.c             |    3 +--
>  drivers/iio/temperature/tsys01.c                   |    3 +--
>  drivers/iio/temperature/tsys02d.c                  |    3 +--
>  drivers/iio/trigger/iio-trig-loop.c                |    3 +--
>  drivers/iio/trigger/iio-trig-sysfs.c               |    4 +---
>  drivers/input/keyboard/adp5589-keys.c              |    2 +-
>  drivers/power/supply/adp5061.c                     |    3 +--
>  drivers/spi/spi-axi-spi-engine.c                   |    3 +--
>  include/linux/iio/adc/ad_sigma_delta.h             |    3 +--
>  include/linux/iio/buffer-dma.h                     |    3 +--
>  include/linux/iio/common/st_sensors.h              |    3 +--
>  include/linux/iio/common/st_sensors_i2c.h          |    3 +--
>  include/linux/iio/common/st_sensors_spi.h          |    3 +--
>  include/linux/iio/dac/ad5504.h                     |    3 +--
>  include/linux/iio/dac/ad5791.h                     |    3 +--
>  include/linux/iio/frequency/ad9523.h               |    3 +--
>  include/linux/iio/frequency/adf4350.h              |    3 +--
>  include/linux/input/adp5589.h                      |    3 +--
>  include/linux/platform_data/ad5449.h               |    3 +--
>  include/linux/platform_data/ad5755.h               |    3 +--
>  include/linux/platform_data/ad5761.h               |    3 +--
>  include/linux/platform_data/ad7266.h               |    3 +--
>  include/linux/platform_data/ad7298.h               |    3 +--
>  include/linux/platform_data/ad7303.h               |    3 +--
>  include/linux/platform_data/ad7793.h               |    3 +--
>  include/linux/platform_data/adau1977.h             |    3 +--
>  include/linux/platform_data/ssm2518.h              |    3 +--
>  include/linux/platform_data/st_sensors_pdata.h     |    3 +--
>  sound/soc/adi/axi-i2s.c                            |    3 +--
>  sound/soc/adi/axi-spdif.c                          |    3 +--
>  sound/soc/codecs/ad193x-i2c.c                      |    3 +--
>  sound/soc/codecs/ad193x-spi.c                      |    3 +--
>  sound/soc/codecs/adau1761-i2c.c                    |    3 +--
>  sound/soc/codecs/adau1761-spi.c                    |    3 +--
>  sound/soc/codecs/adau1761.h                        |    3 +--
>  sound/soc/codecs/adau1781-i2c.c                    |    3 +--
>  sound/soc/codecs/adau1781-spi.c                    |    3 +--
>  sound/soc/codecs/adau1781.h                        |    3 +--
>  sound/soc/codecs/adau1977-i2c.c                    |    3 +--
>  sound/soc/codecs/adau1977-spi.c                    |    3 +--
>  sound/soc/codecs/adau1977.c                        |    3 +--
>  sound/soc/codecs/adau1977.h                        |    3 +--
>  sound/soc/codecs/adau7002.c                        |    3 +--
>  sound/soc/codecs/adav801.c                         |    3 +--
>  sound/soc/codecs/adav803.c                         |    3 +--
>  sound/soc/codecs/nau8825.c                         |    3 +--
>  sound/soc/codecs/ssm2518.c                         |    3 +--
>  sound/soc/codecs/ssm2518.h                         |    3 +--
>  sound/soc/codecs/ssm2602-i2c.c                     |    3 +--
>  sound/soc/codecs/ssm2602-spi.c                     |    3 +--
>  sound/soc/codecs/ssm4567.c                         |    3 +--
>  135 files changed, 135 insertions(+), 267 deletions(-)
>
> --- a/drivers/clk/clk-axi-clkgen.c
> +++ b/drivers/clk/clk-axi-clkgen.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AXI clkgen driver
>   *
>   * Copyright 2012-2013 Analog Devices Inc.
>   *  Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
> - *
>   */
>
>  #include <linux/platform_device.h>
> --- a/drivers/crypto/sunxi-ss/sun4i-ss.h
> +++ b/drivers/crypto/sunxi-ss/sun4i-ss.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * sun4i-ss.h - hardware cryptographic accelerator for Allwinner A20 SoC
>   *
> @@ -8,8 +9,6 @@
>   * Support DES and 3DES
>   *
>   * You could find the datasheet in Documentation/arm/sunxi/README
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/clk.h>
> --- a/drivers/dma/dma-axi-dmac.c
> +++ b/drivers/dma/dma-axi-dmac.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Driver for the Analog Devices AXI-DMAC core
>   *
>   * Copyright 2013-2015 Analog Devices Inc.
>   *  Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/clk.h>
> --- a/drivers/gpu/drm/bridge/adv7511/adv7511.h
> +++ b/drivers/gpu/drm/bridge/adv7511/adv7511.h
> @@ -1,9 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Analog Devices ADV7511 HDMI transmitter driver
>   *
>   * Copyright 2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef __DRM_I2C_ADV7511_H__
> --- a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
> +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Analog Devices ADV7511 HDMI transmitter driver
>   *
>   * Copyright 2012 Analog Devices Inc.
>   * Copyright (c) 2016, Linaro Limited
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <sound/core.h>
> --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
> +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Analog Devices ADV7511 HDMI transmitter driver
>   *
>   * Copyright 2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/i2c/muxes/i2c-mux-ltc4306.c
> +++ b/drivers/i2c/muxes/i2c-mux-ltc4306.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Linear Technology LTC4306 and LTC4305 I2C multiplexer/switch
>   *
>   * Copyright (C) 2017 Analog Devices Inc.
>   *
> - * Licensed under the GPL-2.
> - *
>   * Based on: i2c-mux-pca954x.c
>   *
>   * Datasheet: http://cds.linear.com/docs/en/datasheet/4306.pdf
> --- a/drivers/iio/accel/st_accel.h
> +++ b/drivers/iio/accel/st_accel.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * STMicroelectronics accelerometers driver
>   *
> @@ -5,7 +6,6 @@
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
>   * v. 1.0.0
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef ST_ACCEL_H
> --- a/drivers/iio/accel/st_accel_buffer.c
> +++ b/drivers/iio/accel/st_accel_buffer.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics accelerometers driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/module.h>
> --- a/drivers/iio/accel/st_accel_core.c
> +++ b/drivers/iio/accel/st_accel_core.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics accelerometers driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/accel/st_accel_i2c.c
> +++ b/drivers/iio/accel/st_accel_i2c.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics accelerometers driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/accel/st_accel_spi.c
> +++ b/drivers/iio/accel/st_accel_spi.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics accelerometers driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/adc/ad7266.c
> +++ b/drivers/iio/adc/ad7266.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7266/65 SPI ADC driver
>   *
>   * Copyright 2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/adc/ad7298.c
> +++ b/drivers/iio/adc/ad7298.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7298 SPI ADC driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/adc/ad7791.c
> +++ b/drivers/iio/adc/ad7791.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7787/AD7788/AD7789/AD7790/AD7791 SPI ADC driver
>   *
>   * Copyright 2012 Analog Devices Inc.
>   *  Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/adc/ad7793.c
> +++ b/drivers/iio/adc/ad7793.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7785/AD7792/AD7793/AD7794/AD7795 SPI ADC driver
>   *
>   * Copyright 2011-2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/adc/ad7887.c
> +++ b/drivers/iio/adc/ad7887.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7887 SPI ADC driver
>   *
>   * Copyright 2010-2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/adc/ad7923.c
> +++ b/drivers/iio/adc/ad7923.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7904/AD7914/AD7923/AD7924 SPI ADC driver
>   *
>   * Copyright 2011 Analog Devices Inc (from AD7923 Driver)
>   * Copyright 2012 CS Systemes d'Information
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/adc/ad_sigma_delta.c
> +++ b/drivers/iio/adc/ad_sigma_delta.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Support code for Analog Devices Sigma-Delta ADCs
>   *
>   * Copyright 2012 Analog Devices Inc.
>   *  Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/adc/ltc2497.c
> +++ b/drivers/iio/adc/ltc2497.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * ltc2497.c - Driver for Analog Devices/Linear Technology LTC2497 ADC
>   *
>   * Copyright (C) 2017 Analog Devices Inc.
>   *
> - * Licensed under the GPL-2.
> - *
>   * Datasheet: http://cds.linear.com/docs/en/datasheet/2497fd.pdf
>   */
>
> --- a/drivers/iio/adc/spear_adc.c
> +++ b/drivers/iio/adc/spear_adc.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * ST SPEAr ADC driver
>   *
>   * Copyright 2012 Stefan Roese <sr@denx.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/module.h>
> --- a/drivers/iio/adc/xilinx-xadc-core.c
> +++ b/drivers/iio/adc/xilinx-xadc-core.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Xilinx XADC driver
>   *
>   * Copyright 2013-2014 Analog Devices Inc.
>   *  Author: Lars-Peter Clauen <lars@metafoo.de>
>   *
> - * Licensed under the GPL-2.
> - *
>   * Documentation for the parts can be found at:
>   *  - XADC hardmacro: Xilinx UG480
>   *  - ZYNQ XADC interface: Xilinx UG585
> --- a/drivers/iio/adc/xilinx-xadc-events.c
> +++ b/drivers/iio/adc/xilinx-xadc-events.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Xilinx XADC driver
>   *
>   * Copyright 2013 Analog Devices Inc.
>   *  Author: Lars-Peter Clauen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/iio/events.h>
> --- a/drivers/iio/adc/xilinx-xadc.h
> +++ b/drivers/iio/adc/xilinx-xadc.h
> @@ -1,10 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Xilinx XADC driver
>   *
>   * Copyright 2013 Analog Devices Inc.
>   *  Author: Lars-Peter Clauen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef __IIO_XILINX_XADC__
> --- a/drivers/iio/amplifiers/ad8366.c
> +++ b/drivers/iio/amplifiers/ad8366.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD8366 SPI Dual-Digital Variable Gain Amplifier (VGA)
>   *
>   * Copyright 2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/buffer/industrialio-buffer-dma.c
> +++ b/drivers/iio/buffer/industrialio-buffer-dma.c
> @@ -1,8 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright 2013-2015 Analog Devices Inc.
>   *  Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/slab.h>
> --- a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c
> +++ b/drivers/iio/common/ms_sensors/ms_sensors_i2c.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Measurements Specialties driver common i2c functions
>   *
>   * Copyright (c) 2015 Measurement-Specialties
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/module.h>
> --- a/drivers/iio/common/st_sensors/st_sensors_buffer.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_buffer.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics sensors buffer library driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/common/st_sensors/st_sensors_core.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_core.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics sensors core library driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/common/st_sensors/st_sensors_i2c.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_i2c.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics sensors i2c library driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/common/st_sensors/st_sensors_spi.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_spi.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics sensors spi library driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/common/st_sensors/st_sensors_trigger.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_trigger.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics sensors trigger library driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/dac/ad5064.c
> +++ b/drivers/iio/dac/ad5064.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5024, AD5025, AD5044, AD5045, AD5064, AD5064-1, AD5065, AD5625, AD5625R,
>   * AD5627, AD5627R, AD5628, AD5629R, AD5645R, AD5647R, AD5648, AD5665, AD5665R,
> @@ -6,8 +7,6 @@
>   * Digital to analog converters driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5360.c
> +++ b/drivers/iio/dac/ad5360.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Analog devices AD5360, AD5361, AD5362, AD5363, AD5370, AD5371, AD5373
>   * multi-channel Digital to Analog Converters driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5380.c
> +++ b/drivers/iio/dac/ad5380.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Analog devices AD5380, AD5381, AD5382, AD5383, AD5390, AD5391, AD5392
>   * multi-channel Digital to Analog Converters driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5421.c
> +++ b/drivers/iio/dac/ad5421.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5421 Digital to analog converters  driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5449.c
> +++ b/drivers/iio/dac/ad5449.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5415, AD5426, AD5429, AD5432, AD5439, AD5443, AD5449 Digital to Analog
>   * Converter driver.
>   *
>   * Copyright 2012 Analog Devices Inc.
>   *  Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5504.c
> +++ b/drivers/iio/dac/ad5504.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5504, AD5501 High Voltage Digital to Analog Converter
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/dac/ad5592r-base.c
> +++ b/drivers/iio/dac/ad5592r-base.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5592R Digital <-> Analog converters driver
>   *
>   * Copyright 2014-2016 Analog Devices Inc.
>   * Author: Paul Cercueil <paul.cercueil@analog.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/bitops.h>
> --- a/drivers/iio/dac/ad5592r-base.h
> +++ b/drivers/iio/dac/ad5592r-base.h
> @@ -1,10 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * AD5592R / AD5593R Digital <-> Analog converters driver
>   *
>   * Copyright 2015-2016 Analog Devices Inc.
>   * Author: Paul Cercueil <paul.cercueil@analog.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef __DRIVERS_IIO_DAC_AD5592R_BASE_H__
> --- a/drivers/iio/dac/ad5592r.c
> +++ b/drivers/iio/dac/ad5592r.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5592R Digital <-> Analog converters driver
>   *
>   * Copyright 2015-2016 Analog Devices Inc.
>   * Author: Paul Cercueil <paul.cercueil@analog.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include "ad5592r-base.h"
> --- a/drivers/iio/dac/ad5593r.c
> +++ b/drivers/iio/dac/ad5593r.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5593R Digital <-> Analog converters driver
>   *
>   * Copyright 2015-2016 Analog Devices Inc.
>   * Author: Paul Cercueil <paul.cercueil@analog.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include "ad5592r-base.h"
> --- a/drivers/iio/dac/ad5624r.h
> +++ b/drivers/iio/dac/ad5624r.h
> @@ -1,9 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * AD5624R SPI DAC driver
>   *
>   * Copyright 2010-2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>  #ifndef SPI_AD5624R_H_
>  #define SPI_AD5624R_H_
> --- a/drivers/iio/dac/ad5624r_spi.c
> +++ b/drivers/iio/dac/ad5624r_spi.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5624R, AD5644R, AD5664R Digital to analog convertors spi driver
>   *
>   * Copyright 2010-2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/dac/ad5755.c
> +++ b/drivers/iio/dac/ad5755.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5755, AD5755-1, AD5757, AD5735, AD5737 Digital to analog converters driver
>   *
>   * Copyright 2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5761.c
> +++ b/drivers/iio/dac/ad5761.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5721, AD5721R, AD5761, AD5761R, Voltage Output Digital to Analog Converter
>   *
>   * Copyright 2016 Qtechnology A/S
>   * 2016 Ricardo Ribalda <ricardo.ribalda@gmail.com>
> - *
> - * Licensed under the GPL-2.
>   */
>  #include <linux/kernel.h>
>  #include <linux/module.h>
> --- a/drivers/iio/dac/ad5764.c
> +++ b/drivers/iio/dac/ad5764.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Analog devices AD5764, AD5764R, AD5744, AD5744R quad-channel
>   * Digital to Analog Converters driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/dac/ad5791.c
> +++ b/drivers/iio/dac/ad5791.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD5760, AD5780, AD5781, AD5790, AD5791 Voltage Output Digital to Analog
>   * Converter
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/dac/ad7303.c
> +++ b/drivers/iio/dac/ad7303.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD7303 Digital to analog converters driver
>   *
>   * Copyright 2013 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/err.h>
> --- a/drivers/iio/dac/ltc2632.c
> +++ b/drivers/iio/dac/ltc2632.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * LTC2632 Digital to analog convertors spi driver
>   *
>   * Copyright 2017 Maxime Roussin-Bélanger
>   * expanded by Silvan Murer <silvan.murer@gmail.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/frequency/ad9523.c
> +++ b/drivers/iio/frequency/ad9523.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * AD9523 SPI Low Jitter Clock Generator
>   *
>   * Copyright 2012 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/frequency/adf4350.c
> +++ b/drivers/iio/frequency/adf4350.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * ADF4350/ADF4351 SPI Wideband Synthesizer driver
>   *
>   * Copyright 2012-2013 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/iio/gyro/adis16136.c
> +++ b/drivers/iio/gyro/adis16136.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * ADIS16133/ADIS16135/ADIS16136 gyroscope driver
>   *
>   * Copyright 2012 Analog Devices Inc.
>   *   Author: Lars-Peter Clausen <lars@metafoo.de>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/gyro/adxrs450.c
> +++ b/drivers/iio/gyro/adxrs450.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * ADXRS450/ADXRS453 Digital Output Gyroscope Driver
>   *
>   * Copyright 2011 Analog Devices Inc.
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/gyro/st_gyro.h
> +++ b/drivers/iio/gyro/st_gyro.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * STMicroelectronics gyroscopes driver
>   *
> @@ -5,7 +6,6 @@
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
>   * v. 1.0.0
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef ST_GYRO_H
> --- a/drivers/iio/gyro/st_gyro_buffer.c
> +++ b/drivers/iio/gyro/st_gyro_buffer.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics gyroscopes driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/module.h>
> --- a/drivers/iio/gyro/st_gyro_core.c
> +++ b/drivers/iio/gyro/st_gyro_core.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics gyroscopes driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/gyro/st_gyro_i2c.c
> +++ b/drivers/iio/gyro/st_gyro_i2c.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics gyroscopes driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/gyro/st_gyro_spi.c
> +++ b/drivers/iio/gyro/st_gyro_spi.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics gyroscopes driver
>   *
>   * Copyright 2012-2013 STMicroelectronics Inc.
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/humidity/hts221.h
> +++ b/drivers/iio/humidity/hts221.h
> @@ -1,11 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * STMicroelectronics hts221 sensor driver
>   *
>   * Copyright 2016 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef HTS221_H
> --- a/drivers/iio/humidity/hts221_buffer.c
> +++ b/drivers/iio/humidity/hts221_buffer.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics hts221 sensor driver
>   *
>   * Copyright 2016 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>  #include <linux/kernel.h>
>  #include <linux/module.h>
> --- a/drivers/iio/humidity/hts221_core.c
> +++ b/drivers/iio/humidity/hts221_core.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics hts221 sensor driver
>   *
>   * Copyright 2016 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/humidity/hts221_i2c.c
> +++ b/drivers/iio/humidity/hts221_i2c.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics hts221 i2c driver
>   *
>   * Copyright 2016 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/humidity/hts221_spi.c
> +++ b/drivers/iio/humidity/hts221_spi.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics hts221 spi driver
>   *
>   * Copyright 2016 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/humidity/htu21.c
> +++ b/drivers/iio/humidity/htu21.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * htu21.c - Support for Measurement-Specialties
>   *           htu21 temperature & humidity sensor
> @@ -5,8 +6,6 @@
>   *
>   * Copyright (c) 2014 Measurement-Specialties
>   *
> - * Licensed under the GPL-2.
> - *
>   * (7-bit I2C slave address 0x40)
>   *
>   * Datasheet:
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * STMicroelectronics st_lsm6dsx sensor driver
>   *
> @@ -5,8 +6,6 @@
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef ST_LSM6DSX_H
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics st_lsm6dsx FIFO buffer library driver
>   *
> @@ -26,8 +27,6 @@
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>  #include <linux/module.h>
>  #include <linux/interrupt.h>
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics st_lsm6dsx sensor driver
>   *
> @@ -33,8 +34,6 @@
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics st_lsm6dsx i2c driver
>   *
> @@ -5,8 +6,6 @@
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics st_lsm6dsx spi driver
>   *
> @@ -5,8 +6,6 @@
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi@st.com>
>   * Denis Ciocca <denis.ciocca@st.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/light/st_uvis25.h
> +++ b/drivers/iio/light/st_uvis25.h
> @@ -1,11 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * STMicroelectronics uvis25 sensor driver
>   *
>   * Copyright 2017 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef ST_UVIS25_H
> --- a/drivers/iio/light/st_uvis25_core.c
> +++ b/drivers/iio/light/st_uvis25_core.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics uvis25 sensor driver
>   *
>   * Copyright 2017 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/light/st_uvis25_i2c.c
> +++ b/drivers/iio/light/st_uvis25_i2c.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics uvis25 i2c driver
>   *
>   * Copyright 2017 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/light/st_uvis25_spi.c
> +++ b/drivers/iio/light/st_uvis25_spi.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * STMicroelectronics uvis25 spi driver
>   *
>   * Copyright 2017 STMicroelectronics Inc.
>   *
>   * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
> - *
> - * Licensed under the GPL-2.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/iio/magnetometer/st_magn.h
> +++ b/drivers/iio/magnetometer/st_magn.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * STMicroelectronics magnetometers driver
>   *
> @@ -5,7 +6,6 @@
>   *
>   * Denis Ciocca <denis.ciocca@st.com>
>   * v. 1.0.0
> - * Licensed under the GPL-2.
>   */
>
>  #ifndef ST_MAGN_H
> --- a/drivers/iio/magnetometer/st_magn_buffer.c
> +++ b/drivers/iio/magnetometer/st_magn_buffer.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>
>


-- 
Steve Winslow
Director of Strategic Programs
The Linux Foundation
swinslow@linuxfoundation.org

  parent reply	other threads:[~2019-05-29  2:18 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-28 16:57 [Batch 9 patch 00/23] Batch 9 of random GPL notices/references Thomas Gleixner
2019-05-28 16:57 ` [Batch 9 patch 01/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 Thomas Gleixner
2019-05-28 18:18   ` Zavras, Alexios
2019-05-28 20:07   ` Allison Randal
2019-05-29  2:17   ` Steve Winslow
2019-05-28 16:57 ` [Batch 9 patch 02/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 Thomas Gleixner
2019-05-28 18:20   ` Zavras, Alexios
2019-05-28 20:08   ` Allison Randal
2019-05-29  2:18   ` Steve Winslow [this message]
2019-05-29 15:30   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 03/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 Thomas Gleixner
2019-05-28 18:23   ` Zavras, Alexios
2019-05-28 20:18   ` Allison Randal
2019-05-28 20:58     ` Thomas Gleixner
2019-05-29  2:19   ` Steve Winslow
2019-05-29 15:32   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 04/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 179 Thomas Gleixner
2019-05-28 18:25   ` Zavras, Alexios
2019-05-28 20:31   ` Allison Randal
2019-05-29  2:20   ` Steve Winslow
2019-05-29 15:33   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 05/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 180 Thomas Gleixner
2019-05-28 18:01   ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-05-28 18:31   ` Zavras, Alexios
2019-05-28 20:48   ` Allison Randal
2019-05-29  2:20   ` Steve Winslow
2019-05-29 15:34   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 06/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 181 Thomas Gleixner
2019-05-28 18:33   ` Zavras, Alexios
2019-05-28 20:50   ` Allison Randal
2019-05-29  2:23     ` Steve Winslow
2019-05-28 16:57 ` [Batch 9 patch 07/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 182 Thomas Gleixner
2019-05-28 18:36   ` Zavras, Alexios
2019-05-28 20:51   ` Allison Randal
2019-05-29  2:24   ` Steve Winslow
2019-05-29 15:35   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 08/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 183 Thomas Gleixner
2019-05-28 18:38   ` Zavras, Alexios
2019-05-28 20:52   ` Allison Randal
2019-05-29  2:25   ` Steve Winslow
2019-05-29 15:37   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 09/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 184 Thomas Gleixner
2019-05-28 18:43   ` Zavras, Alexios
2019-05-28 21:04   ` Allison Randal
2019-05-29  2:35     ` Steve Winslow
2019-05-29 15:37   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 10/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 185 Thomas Gleixner
2019-05-28 18:47   ` Zavras, Alexios
2019-05-29  2:36   ` Steve Winslow
2019-05-29 15:38   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 11/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 186 Thomas Gleixner
2019-05-28 18:52   ` Zavras, Alexios
2019-05-28 21:06   ` Allison Randal
2019-05-28 16:57 ` [Batch 9 patch 12/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 188 Thomas Gleixner
2019-05-28 18:54   ` Zavras, Alexios
2019-05-28 21:08   ` Allison Randal
2019-05-29  2:38   ` Steve Winslow
2019-05-29 15:39   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 13/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 190 Thomas Gleixner
2019-05-28 18:55   ` Zavras, Alexios
2019-05-28 21:09   ` Allison Randal
2019-05-29  2:38   ` Steve Winslow
2019-05-29 15:40   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 14/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 Thomas Gleixner
2019-05-28 18:56   ` Zavras, Alexios
2019-05-28 21:09   ` Allison Randal
2019-05-29  2:39   ` Steve Winslow
2019-05-29 15:41   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 15/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 192 Thomas Gleixner
2019-05-28 19:02   ` Zavras, Alexios
2019-05-28 21:00   ` Thomas Gleixner
2019-05-29  2:41     ` Steve Winslow
2019-05-28 16:57 ` [Batch 9 patch 16/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 193 Thomas Gleixner
2019-05-28 19:05   ` Zavras, Alexios
2019-05-28 21:43   ` Allison Randal
2019-05-29  2:42   ` Steve Winslow
2019-05-29 15:42   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 17/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 Thomas Gleixner
2019-05-28 19:07   ` Zavras, Alexios
2019-05-28 21:44   ` Allison Randal
2019-05-29  2:43   ` Steve Winslow
2019-05-29 17:26   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 18/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 195 Thomas Gleixner
2019-05-28 19:08   ` Zavras, Alexios
2019-05-28 21:45   ` Allison Randal
2019-05-29  2:43   ` Steve Winslow
2019-05-29 17:27   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 19/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 196 Thomas Gleixner
2019-05-28 19:09   ` Zavras, Alexios
2019-05-28 21:02   ` Thomas Gleixner
2019-05-28 16:57 ` [Batch 9 patch 20/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 197 Thomas Gleixner
2019-05-28 19:10   ` Zavras, Alexios
2019-05-28 21:46   ` Allison Randal
2019-05-29  2:45   ` Steve Winslow
2019-05-29 17:29   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 21/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 198 Thomas Gleixner
2019-05-28 19:12   ` Zavras, Alexios
2019-05-28 21:47   ` Allison Randal
2019-05-29  2:46   ` Steve Winslow
2019-05-29 17:29   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 22/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 199 Thomas Gleixner
2019-05-28 19:13   ` Zavras, Alexios
2019-05-28 21:47   ` Allison Randal
2019-05-29  2:46   ` Steve Winslow
2019-05-29 17:30   ` Richard Fontana
2019-05-28 16:57 ` [Batch 9 patch 23/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 200 Thomas Gleixner
2019-05-28 19:14   ` Zavras, Alexios
2019-05-28 21:49   ` Allison Randal
2019-05-29  2:47   ` Steve Winslow
2019-05-29 17:31   ` Richard Fontana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL8Xim41QQBxqPAHcQN48h-WR7MzUmxNtE2VHrC5h5CW3yyOwQ@mail.gmail.com \
    --to=swinslow@linuxfoundation.org \
    --cc=linux-spdx@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.