Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: stm32: Adopt SPDX identifier

Add SPDX identifier in stm32's files in IIO directory

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Benjamin Gaignard and committed by
Greg Kroah-Hartman
6e93e261 debbbbef

+9 -85
+1 -13
drivers/iio/adc/stm32-adc-core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * This file is part of STM32 ADC driver 3 4 * ··· 7 6 * 8 7 * Inspired from: fsl-imx25-tsadc 9 8 * 10 - * License type: GPLv2 11 - * 12 - * This program is free software; you can redistribute it and/or modify it 13 - * under the terms of the GNU General Public License version 2 as published by 14 - * the Free Software Foundation. 15 - * 16 - * This program is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 - * or FITNESS FOR A PARTICULAR PURPOSE. 19 - * See the GNU General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License along with 22 - * this program. If not, see <http://www.gnu.org/licenses/>. 23 9 */ 24 10 25 11 #include <linux/clk.h>
+1 -13
drivers/iio/adc/stm32-adc-core.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * This file is part of STM32 ADC driver 3 4 * 4 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 5 6 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>. 6 7 * 7 - * License type: GPLv2 8 - * 9 - * This program is free software; you can redistribute it and/or modify it 10 - * under the terms of the GNU General Public License version 2 as published by 11 - * the Free Software Foundation. 12 - * 13 - * This program is distributed in the hope that it will be useful, but 14 - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 - * or FITNESS FOR A PARTICULAR PURPOSE. 16 - * See the GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License along with 19 - * this program. If not, see <http://www.gnu.org/licenses/>. 20 8 */ 21 9 22 10 #ifndef __STM32_ADC_H
+1 -14
drivers/iio/adc/stm32-adc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * This file is part of STM32 ADC driver 3 4 * 4 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 5 6 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>. 6 - * 7 - * License type: GPLv2 8 - * 9 - * This program is free software; you can redistribute it and/or modify it 10 - * under the terms of the GNU General Public License version 2 as published by 11 - * the Free Software Foundation. 12 - * 13 - * This program is distributed in the hope that it will be useful, but 14 - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 - * or FITNESS FOR A PARTICULAR PURPOSE. 16 - * See the GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License along with 19 - * this program. If not, see <http://www.gnu.org/licenses/>. 20 7 */ 21 8 22 9 #include <linux/clk.h>
+1 -1
drivers/iio/counter/stm32-lptimer-cnt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * STM32 Low-Power Timer Encoder and Counter driver 3 4 * ··· 8 7 * 9 8 * Inspired by 104-quad-8 and stm32-timer-trigger drivers. 10 9 * 11 - * License terms: GNU General Public License (GPL), version 2 12 10 */ 13 11 14 12 #include <linux/bitfield.h>
+1 -13
drivers/iio/dac/stm32-dac-core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * This file is part of STM32 DAC driver 3 4 * 4 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 6 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>. 6 7 * 7 - * License type: GPLv2 8 - * 9 - * This program is free software; you can redistribute it and/or modify it 10 - * under the terms of the GNU General Public License version 2 as published by 11 - * the Free Software Foundation. 12 - * 13 - * This program is distributed in the hope that it will be useful, but 14 - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 - * or FITNESS FOR A PARTICULAR PURPOSE. 16 - * See the GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License along with 19 - * this program. If not, see <http://www.gnu.org/licenses/>. 20 8 */ 21 9 22 10 #include <linux/clk.h>
+1 -14
drivers/iio/dac/stm32-dac-core.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * This file is part of STM32 DAC driver 3 4 * 4 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 6 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>. 6 - * 7 - * License type: GPLv2 8 - * 9 - * This program is free software; you can redistribute it and/or modify it 10 - * under the terms of the GNU General Public License version 2 as published by 11 - * the Free Software Foundation. 12 - * 13 - * This program is distributed in the hope that it will be useful, but 14 - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 - * or FITNESS FOR A PARTICULAR PURPOSE. 16 - * See the GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License along with 19 - * this program. If not, see <http://www.gnu.org/licenses/>. 20 7 */ 21 8 22 9 #ifndef __STM32_DAC_CORE_H
+1 -14
drivers/iio/dac/stm32-dac.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * This file is part of STM32 DAC driver 3 4 * 4 5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 6 * Authors: Amelie Delaunay <amelie.delaunay@st.com> 6 7 * Fabrice Gasnier <fabrice.gasnier@st.com> 7 - * 8 - * License type: GPLv2 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 - * This program is distributed in the hope that it will be useful, but 15 - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 16 - * or FITNESS FOR A PARTICULAR PURPOSE. 17 - * See the GNU General Public License for more details. 18 - * 19 - * You should have received a copy of the GNU General Public License along with 20 - * this program. If not, see <http://www.gnu.org/licenses/>. 21 8 */ 22 9 23 10 #include <linux/bitfield.h>
+1 -2
drivers/iio/trigger/stm32-lptimer-trigger.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * STM32 Low-Power Timer Trigger driver 3 4 * 4 5 * Copyright (C) STMicroelectronics 2017 5 6 * 6 7 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>. 7 - * 8 - * License terms: GNU General Public License (GPL), version 2 9 8 * 10 9 * Inspired by Benjamin Gaignard's stm32-timer-trigger driver 11 10 */
+1 -1
drivers/iio/trigger/stm32-timer-trigger.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Copyright (C) STMicroelectronics 2016 3 4 * 4 5 * Author: Benjamin Gaignard <benjamin.gaignard@st.com> 5 6 * 6 - * License terms: GNU General Public License (GPL), version 2 7 7 */ 8 8 9 9 #include <linux/iio/iio.h>