iio: pressure: ms5611: switch to SPDX identifier
PATCH 1/1 iio: pressure: ms5611: switch to SPDX identifier
Drop boilerplate license text and use SPDX identifier instead.
Signed-off-by Tomasz Duszynski <[email protected]>
--- drivers/iio/pressure/ms5611.h | 5 +---- drivers/iio/pressure/ms5611_core.c | 5 +---- drivers/iio/pressure/ms5611_i2c.c | 5 +---- drivers/iio/pressure/ms5611_spi.c | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)
drivers/iio/pressure/ms5611.h +1 -4
@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * MS5611 pressure and temperature sensor driver * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* */ #ifndef _MS5611_H
drivers/iio/pressure/ms5611_core.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MS5611 pressure and temperature sensor driver * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* * Data sheet: * http://www.meas-spec.com/downloads/MS5611-01BA03.pdf * http://www.meas-spec.com/downloads/MS5607-02BA03.pdf
drivers/iio/pressure/ms5611_i2c.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MS5611 pressure and temperature sensor driver (I2C bus) * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* * 7-bit I2C slave addresses: * * 0x77 (CSB pin low)
drivers/iio/pressure/ms5611_spi.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MS5611 pressure and temperature sensor driver (SPI bus) * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* */ #include <linux/delay.h>
--
2.18.0
Jonathan Cameron
AppliedQuoted 3 lines · On Sat, 1 Sep 2018 21:52:14 +0200 Tomasz Duszynski <[email protected]> wrote:
Drop boilerplate license text and use SPDX identifier instead.
Signed-off-by Tomasz Duszynski <[email protected]>
Applied.
Thanks,
Jonathan
Quoted 82 lines
--- drivers/iio/pressure/ms5611.h | 5 +---- drivers/iio/pressure/ms5611_core.c | 5 +---- drivers/iio/pressure/ms5611_i2c.c | 5 +---- drivers/iio/pressure/ms5611_spi.c | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)drivers/iio/pressure/ms5611.h +1
-4@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * MS5611 pressure and temperature sensor driver * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* */ #ifndef _MS5611_Hdrivers/iio/pressure/ms5611_core.c +1
-4@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MS5611 pressure and temperature sensor driver * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* * Data sheet: * http://www.meas-spec.com/downloads/MS5611-01BA03.pdf * http://www.meas-spec.com/downloads/MS5607-02BA03.pdf drivers/iio/pressure/ms5611_i2c.c +1
-4@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MS5611 pressure and temperature sensor driver (I2C bus) * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* * 7-bit I2C slave addresses: * * 0x77 (CSB pin low) drivers/iio/pressure/ms5611_spi.c +1
-5@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MS5611 pressure and temperature sensor driver (SPI bus) * * Copyright (c) Tomasz Duszynski <[email protected]> * -* 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. -* */ #include <linux/delay.h> --2.18.0