From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B1A1C04AB6 for ; Wed, 29 May 2019 02:18:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1462F21019 for ; Wed, 29 May 2019 02:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559096318; bh=5L6UUqrgW9pUSE48M4xLW5WHmiVmPL3u32LLSpSdaUM=; h=References:In-Reply-To:From:Date:Subject:To:List-ID:From; b=hdfJfdZOWuFsUnEuKF140bI06jyoEDBuM/Ud9Fcy3CBPMq0rQGCbtoww+7iwepnMd U8L1t/TPjN2Z2smPIIovJee3SjyX0BHhhes2e44LwdTRhLWXM1dF3udQxTVhAbNC1K x05d2ZsAQtgoSQd1g7k9RilW2ZxWNoHPDsvdNFSs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726062AbfE2CSh (ORCPT ); Tue, 28 May 2019 22:18:37 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:40006 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbfE2CSg (ORCPT ); Tue, 28 May 2019 22:18:36 -0400 Received: by mail-qt1-f196.google.com with SMTP id k24so719666qtq.7 for ; Tue, 28 May 2019 19:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=yqK4wWvU4QOXecsCgPXgbI9E6r4HXaoY6iCsgW8V9WM=; b=MX4AdUk+CHeSRTX3UgFiAC3kz7mvhe7e2STSDafRX5cA9F421z00ICBW5YtsgyWPqE D8fyEHkunRmyeqOwrTTCPhLiiWNHbP1NEwwNEQUPS7mVUw+56dw6x+wk69tIOsL8+vxE ZjdFWpfvltkLz+PubTTQTfv5SdMBen6fDXLjQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=yqK4wWvU4QOXecsCgPXgbI9E6r4HXaoY6iCsgW8V9WM=; b=fnp32brIYOfPj7djbAGZLNx72Ha6QadzANHfb17d2+wbcwbg+oZzWeuUqs6CHDU9Xv MbdZvr8foTLquVj5C5fS1mSBEfjraGUUCjcvAri5HFITvEjGT6YJUTk+4wh749LCDywc 20tl6yxNJ1A3RtqNOUml3WeDZ8Xbo8zomiK5dqTyWWkdWDoQyLoqtjL39gjag+fZ/Jke wbDWPMSUnJWurQ7L3gmSBPcVxgLTp1wuToFcrbgxyb+hJ5xUxSH7AAFCuMJwpEg14nUZ N2YUf5MTNqmtfjNMwS5dWvQmF+YvB/0/GQOkZDhMLT6OIF6P6neFlHWS7EWOP29Snbkd UnTA== X-Gm-Message-State: APjAAAU1K01RJcplIqQnrIKIvjGxAS0rPX4zmkHv+HtEZMuhoYZAFegt 2nHDpSVxG1cQez95f7X5tubE+K3zbZ3EwuJgsbLausI4mDBLwg== X-Google-Smtp-Source: APXvYqzBb2lgtts3OjUqxnX0gFH79Ijaj5IHJ+FOFbiIG8luisC1YIMBGl3WqZVtZsRBD7hK6zrtPNTp8wRA21SB7jU= X-Received: by 2002:ac8:24f8:: with SMTP id t53mr13994827qtt.241.1559096314187; Tue, 28 May 2019 19:18:34 -0700 (PDT) MIME-Version: 1.0 References: <20190528165704.089944150@linutronix.de> <20190528170026.071193225@linutronix.de> In-Reply-To: <20190528170026.071193225@linutronix.de> From: Steve Winslow Date: Tue, 28 May 2019 22:18:22 -0400 Message-ID: Subject: Re: [Batch 9 patch 02/23] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 To: linux-spdx@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-spdx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spdx@vger.kernel.org Reviewed-by: Steve Winslow On Tue, May 28, 2019 at 1:16 PM Thomas Gleixner 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 > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commi= t/?h=3Dbatch9&id=3D59da476f95fa > --- > 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 > - * > - * Licensed under the GPL-2. > - * > */ > > #include > --- 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > --- 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 > * 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > --- 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > * > - * 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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, AD5= 625R, > * AD5627, AD5627R, AD5628, AD5629R, AD5645R, AD5647R, AD5648, AD5665, A= D5665R, > @@ -6,8 +7,6 @@ > * Digital to analog converters driver > * > * Copyright 2011 Analog Devices Inc. > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > --- 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 > --- 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 Ana= log > * Converter driver. > * > * Copyright 2012 Analog Devices Inc. > * Author: Lars-Peter Clausen > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * 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 > - * > - * 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 > - * > - * 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 > --- 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 > --- 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 Co= nverter > * > * Copyright 2016 Qtechnology A/S > * 2016 Ricardo Ribalda > - * > - * Licensed under the GPL-2. > */ > #include > #include > --- 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 > --- 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 Anal= og > * Converter > * > * Copyright 2011 Analog Devices Inc. > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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=C3=A9langer > * expanded by Silvan Murer > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > --- 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 > * 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * 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 > - * > - * Licensed under the GPL-2. > */ > #include > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > * Denis Ciocca > - * > - * 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 > * Denis Ciocca > - * > - * Licensed under the GPL-2. > */ > #include > #include > --- 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 > * Denis Ciocca > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > * Denis Ciocca > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > * Denis Ciocca > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > - * > - * Licensed under the GPL-2. > */ > > #include > --- 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 > * 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 > /* > > --=20 Steve Winslow Director of Strategic Programs The Linux Foundation swinslow@linuxfoundation.org