Commit d6ad8058 authored by Matt Ranostay's avatar Matt Ranostay Committed by Jonathan Cameron

iio: add SPDX identifier for various drivers

Add GPLv2+ SPDX identifier and update email for author's drivers.
Signed-off-by: default avatarMatt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f0ef941a
// SPDX-License-Identifier: GPL-2.0+
/* /*
* ti-adc161s626.c - Texas Instruments ADC161S626 1-channel differential ADC * ti-adc161s626.c - Texas Instruments ADC161S626 1-channel differential ADC
* *
...@@ -5,17 +6,8 @@ ...@@ -5,17 +6,8 @@
* adc141s626 - 14-bit ADC * adc141s626 - 14-bit ADC
* adc161s626 - 16-bit ADC * adc161s626 - 16-bit ADC
* *
* Copyright (C) 2016 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2016-2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -275,6 +267,6 @@ static struct spi_driver ti_adc_driver = { ...@@ -275,6 +267,6 @@ static struct spi_driver ti_adc_driver = {
}; };
module_spi_driver(ti_adc_driver); module_spi_driver(ti_adc_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("Texas Instruments ADC1x1S 1-channel differential ADC"); MODULE_DESCRIPTION("Texas Instruments ADC1x1S 1-channel differential ADC");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* ams-iaq-core.c - Support for AMS iAQ-Core VOC sensors * ams-iaq-core.c - Support for AMS iAQ-Core VOC sensors
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015, 2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -194,6 +185,6 @@ static struct i2c_driver ams_iaqcore_driver = { ...@@ -194,6 +185,6 @@ static struct i2c_driver ams_iaqcore_driver = {
}; };
module_i2c_driver(ams_iaqcore_driver); module_i2c_driver(ams_iaqcore_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("AMS iAQ-Core VOC sensors"); MODULE_DESCRIPTION("AMS iAQ-Core VOC sensors");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* atlas-ph-sensor.c - Support for Atlas Scientific OEM pH-SM sensor * atlas-ph-sensor.c - Support for Atlas Scientific OEM pH-SM sensor
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015-2018 Matt Ranostay
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -689,6 +681,6 @@ static struct i2c_driver atlas_driver = { ...@@ -689,6 +681,6 @@ static struct i2c_driver atlas_driver = {
}; };
module_i2c_driver(atlas_driver); module_i2c_driver(atlas_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("Atlas Scientific pH-SM sensor"); MODULE_DESCRIPTION("Atlas Scientific pH-SM sensor");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* vz89x.c - Support for SGX Sensortech MiCS VZ89X VOC sensors * vz89x.c - Support for SGX Sensortech MiCS VZ89X VOC sensors
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015-2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -419,6 +410,6 @@ static struct i2c_driver vz89x_driver = { ...@@ -419,6 +410,6 @@ static struct i2c_driver vz89x_driver = {
}; };
module_i2c_driver(vz89x_driver); module_i2c_driver(vz89x_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("SGX Sensortech MiCS VZ89X VOC sensors"); MODULE_DESCRIPTION("SGX Sensortech MiCS VZ89X VOC sensors");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* max30100.c - Support for MAX30100 heart rate and pulse oximeter sensor * max30100.c - Support for MAX30100 heart rate and pulse oximeter sensor
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015, 2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* TODO: enable pulse length controls via device tree properties * TODO: enable pulse length controls via device tree properties
*/ */
...@@ -518,6 +510,6 @@ static struct i2c_driver max30100_driver = { ...@@ -518,6 +510,6 @@ static struct i2c_driver max30100_driver = {
}; };
module_i2c_driver(max30100_driver); module_i2c_driver(max30100_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("MAX30100 heart rate and pulse oximeter sensor"); MODULE_DESCRIPTION("MAX30100 heart rate and pulse oximeter sensor");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* hdc100x.c - Support for the TI HDC100x temperature + humidity sensors * hdc100x.c - Support for the TI HDC100x temperature + humidity sensors
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015, 2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* Datasheets: * Datasheets:
* http://www.ti.com/product/HDC1000/datasheet * http://www.ti.com/product/HDC1000/datasheet
...@@ -449,6 +441,6 @@ static struct i2c_driver hdc100x_driver = { ...@@ -449,6 +441,6 @@ static struct i2c_driver hdc100x_driver = {
}; };
module_i2c_driver(hdc100x_driver); module_i2c_driver(hdc100x_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("TI HDC100x humidity and temperature sensor driver"); MODULE_DESCRIPTION("TI HDC100x humidity and temperature sensor driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* apds9960.c - Support for Avago APDS9960 gesture/RGB/ALS/proximity sensor * apds9960.c - Support for Avago APDS9960 gesture/RGB/ALS/proximity sensor
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015, 2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* TODO: gesture + proximity calib offsets * TODO: gesture + proximity calib offsets
*/ */
...@@ -1141,6 +1133,6 @@ static struct i2c_driver apds9960_driver = { ...@@ -1141,6 +1133,6 @@ static struct i2c_driver apds9960_driver = {
}; };
module_i2c_driver(apds9960_driver); module_i2c_driver(apds9960_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("ADPS9960 Gesture/RGB/ALS/Proximity sensor"); MODULE_DESCRIPTION("ADPS9960 Gesture/RGB/ALS/Proximity sensor");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* tpl0102.c - Support for Texas Instruments digital potentiometers * tpl0102.c - Support for Texas Instruments digital potentiometers
* *
* Copyright (C) 2016 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2016, 2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* TODO: enable/disable hi-z output control * TODO: enable/disable hi-z output control
*/ */
...@@ -156,6 +148,6 @@ static struct i2c_driver tpl0102_driver = { ...@@ -156,6 +148,6 @@ static struct i2c_driver tpl0102_driver = {
module_i2c_driver(tpl0102_driver); module_i2c_driver(tpl0102_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("TPL0102 digital potentiometer"); MODULE_DESCRIPTION("TPL0102 digital potentiometer");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* lmp91000.c - Support for Texas Instruments digital potentiostats * lmp91000.c - Support for Texas Instruments digital potentiostats
* *
* Copyright (C) 2016 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2016, 2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* TODO: bias voltage + polarity control, and multiple chip support * TODO: bias voltage + polarity control, and multiple chip support
*/ */
...@@ -440,6 +432,6 @@ static struct i2c_driver lmp91000_driver = { ...@@ -440,6 +432,6 @@ static struct i2c_driver lmp91000_driver = {
}; };
module_i2c_driver(lmp91000_driver); module_i2c_driver(lmp91000_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("LMP91000 digital potentiostat"); MODULE_DESCRIPTION("LMP91000 digital potentiostat");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* as3935.c - Support for AS3935 Franklin lightning sensor * as3935.c - Support for AS3935 Franklin lightning sensor
* *
* Copyright (C) 2014 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2014, 2017-2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -502,6 +493,6 @@ static struct spi_driver as3935_driver = { ...@@ -502,6 +493,6 @@ static struct spi_driver as3935_driver = {
}; };
module_spi_driver(as3935_driver); module_spi_driver(as3935_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("AS3935 lightning sensor"); MODULE_DESCRIPTION("AS3935 lightning sensor");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* pulsedlight-lidar-lite-v2.c - Support for PulsedLight LIDAR sensor * pulsedlight-lidar-lite-v2.c - Support for PulsedLight LIDAR sensor
* *
* Copyright (C) 2015 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2015, 2017-2018
* * Author: Matt Ranostay <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* TODO: interrupt mode, and signal strength reporting * TODO: interrupt mode, and signal strength reporting
*/ */
...@@ -377,6 +369,6 @@ static struct i2c_driver lidar_driver = { ...@@ -377,6 +369,6 @@ static struct i2c_driver lidar_driver = {
}; };
module_i2c_driver(lidar_driver); module_i2c_driver(lidar_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("PulsedLight LIDAR sensor"); MODULE_DESCRIPTION("PulsedLight LIDAR sensor");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0+
/* /*
* maxim_thermocouple.c - Support for Maxim thermocouple chips * maxim_thermocouple.c - Support for Maxim thermocouple chips
* *
* Copyright (C) 2016 Matt Ranostay <mranostay@gmail.com> * Copyright (C) 2016-2018 Matt Ranostay
* * Author: <matt.ranostay@konsulko.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -281,6 +273,6 @@ static struct spi_driver maxim_thermocouple_driver = { ...@@ -281,6 +273,6 @@ static struct spi_driver maxim_thermocouple_driver = {
}; };
module_spi_driver(maxim_thermocouple_driver); module_spi_driver(maxim_thermocouple_driver);
MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>"); MODULE_AUTHOR("Matt Ranostay <matt.ranostay@konsulko.com>");
MODULE_DESCRIPTION("Maxim thermocouple sensors"); MODULE_DESCRIPTION("Maxim thermocouple sensors");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment