Message ID | 20180820100114.22966-3-peda@axentia.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | License cleanup of "my" IIO files | expand |
On Mon, 20 Aug 2018 12:01:11 +0200 Peter Rosin <peda@axentia.se> wrote: > Drop the boilerplate license text and use the correct MODULE_LICENSE. > > Signed-off-by: Peter Rosin <peda@axentia.se> Applied. thanks, Jonathan > --- > drivers/iio/potentiometer/mcp4531.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c > index df894af6cccb..831ad3e7871c 100644 > --- a/drivers/iio/potentiometer/mcp4531.c > +++ b/drivers/iio/potentiometer/mcp4531.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * Industrial I/O driver for Microchip digital potentiometers > * Copyright (c) 2015 Axentia Technologies AB > @@ -22,10 +23,6 @@ > * mcp4652 2 257 5, 10, 50, 100 01011xx > * mcp4661 2 257 5, 10, 50, 100 0101xxx > * mcp4662 2 257 5, 10, 50, 100 01011xx > - * > - * 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/module.h> > @@ -403,4 +400,4 @@ module_i2c_driver(mcp4531_driver); > > MODULE_AUTHOR("Peter Rosin <peda@axentia.se>"); > MODULE_DESCRIPTION("MCP4531 digital potentiometer"); > -MODULE_LICENSE("GPL"); > +MODULE_LICENSE("GPL v2");
diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c index df894af6cccb..831ad3e7871c 100644 --- a/drivers/iio/potentiometer/mcp4531.c +++ b/drivers/iio/potentiometer/mcp4531.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Industrial I/O driver for Microchip digital potentiometers * Copyright (c) 2015 Axentia Technologies AB @@ -22,10 +23,6 @@ * mcp4652 2 257 5, 10, 50, 100 01011xx * mcp4661 2 257 5, 10, 50, 100 0101xxx * mcp4662 2 257 5, 10, 50, 100 01011xx - * - * 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/module.h> @@ -403,4 +400,4 @@ module_i2c_driver(mcp4531_driver); MODULE_AUTHOR("Peter Rosin <peda@axentia.se>"); MODULE_DESCRIPTION("MCP4531 digital potentiometer"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2");
Drop the boilerplate license text and use the correct MODULE_LICENSE. Signed-off-by: Peter Rosin <peda@axentia.se> --- drivers/iio/potentiometer/mcp4531.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)