diff options
Diffstat (limited to 'drivers/hwmon')
37 files changed, 37 insertions, 374 deletions
diff --git a/drivers/hwmon/adc128d818.c b/drivers/hwmon/adc128d818.c index e640be442dae..f9edec195c35 100644 --- a/drivers/hwmon/adc128d818.c +++ b/drivers/hwmon/adc128d818.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Driver for TI ADC128D818 System Monitor with Temperature Sensor | 3 | * Driver for TI ADC128D818 System Monitor with Temperature Sensor |
3 | * | 4 | * |
@@ -6,16 +7,6 @@ | |||
6 | * Derived from lm80.c | 7 | * Derived from lm80.c |
7 | * Copyright (C) 1998, 1999 Frodo Looijaard <frodol@dds.nl> | 8 | * Copyright (C) 1998, 1999 Frodo Looijaard <frodol@dds.nl> |
8 | * and Philip Edelbrock <phil@netroedge.com> | 9 | * and Philip Edelbrock <phil@netroedge.com> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License as published by | ||
12 | * the Free Software Foundation; either version 2 of the License, or | ||
13 | * (at your option) any later version. | ||
14 | * | ||
15 | * This program is distributed in the hope that it will be useful, | ||
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | * GNU General Public License for more details. | ||
19 | */ | 10 | */ |
20 | 11 | ||
21 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/hwmon/atxp1.c b/drivers/hwmon/atxp1.c index b7eadb54c8cb..e232fa948833 100644 --- a/drivers/hwmon/atxp1.c +++ b/drivers/hwmon/atxp1.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * atxp1.c - kernel module for setting CPU VID and general purpose | 3 | * atxp1.c - kernel module for setting CPU VID and general purpose |
3 | * I/Os using the Attansic ATXP1 chip. | 4 | * I/Os using the Attansic ATXP1 chip. |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * The ATXP1 can reside on I2C addresses 0x37 or 0x4e. The chip is | 6 | * The ATXP1 can reside on I2C addresses 0x37 or 0x4e. The chip is |
16 | * not auto-detected by the driver and must be instantiated explicitly. | 7 | * not auto-detected by the driver and must be instantiated explicitly. |
17 | * See Documentation/i2c/instantiating-devices for more information. | 8 | * See Documentation/i2c/instantiating-devices for more information. |
diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c index ca8f4481264b..371ce7745f5e 100644 --- a/drivers/hwmon/ftsteutates.c +++ b/drivers/hwmon/ftsteutates.c | |||
@@ -1,19 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Support for the FTS Systemmonitoring Chip "Teutates" | 3 | * Support for the FTS Systemmonitoring Chip "Teutates" |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Fujitsu Technology Solutions GmbH, | 5 | * Copyright (C) 2016 Fujitsu Technology Solutions GmbH, |
5 | * Thilo Cestonaro <thilo.cestonaro@ts.fujitsu.com> | 6 | * Thilo Cestonaro <thilo.cestonaro@ts.fujitsu.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | */ | 7 | */ |
18 | #include <linux/err.h> | 8 | #include <linux/err.h> |
19 | #include <linux/fs.h> | 9 | #include <linux/fs.h> |
diff --git a/drivers/hwmon/i5500_temp.c b/drivers/hwmon/i5500_temp.c index a51038c6597d..360f5aee1394 100644 --- a/drivers/hwmon/i5500_temp.c +++ b/drivers/hwmon/i5500_temp.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i5500_temp - Driver for Intel 5500/5520/X58 chipset thermal sensor | 3 | * i5500_temp - Driver for Intel 5500/5520/X58 chipset thermal sensor |
3 | * | 4 | * |
4 | * Copyright (C) 2012, 2014 Jean Delvare <jdelvare@suse.de> | 5 | * Copyright (C) 2012, 2014 Jean Delvare <jdelvare@suse.de> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index f8499cb95fec..fac9b5c68a6a 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * it87.c - Part of lm_sensors, Linux kernel modules for hardware | 3 | * it87.c - Part of lm_sensors, Linux kernel modules for hardware |
3 | * monitoring. | 4 | * monitoring. |
@@ -37,16 +38,6 @@ | |||
37 | * | 38 | * |
38 | * Copyright (C) 2001 Chris Gauthron | 39 | * Copyright (C) 2001 Chris Gauthron |
39 | * Copyright (C) 2005-2010 Jean Delvare <jdelvare@suse.de> | 40 | * Copyright (C) 2005-2010 Jean Delvare <jdelvare@suse.de> |
40 | * | ||
41 | * This program is free software; you can redistribute it and/or modify | ||
42 | * it under the terms of the GNU General Public License as published by | ||
43 | * the Free Software Foundation; either version 2 of the License, or | ||
44 | * (at your option) any later version. | ||
45 | * | ||
46 | * This program is distributed in the hope that it will be useful, | ||
47 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
48 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
49 | * GNU General Public License for more details. | ||
50 | */ | 41 | */ |
51 | 42 | ||
52 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 43 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/hwmon/lm77.c b/drivers/hwmon/lm77.c index c27073dc24c1..671a962fde29 100644 --- a/drivers/hwmon/lm77.c +++ b/drivers/hwmon/lm77.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * lm77.c - Part of lm_sensors, Linux kernel modules for hardware | 3 | * lm77.c - Part of lm_sensors, Linux kernel modules for hardware |
3 | * monitoring | 4 | * monitoring |
@@ -9,16 +10,6 @@ | |||
9 | * resolution made by National Semiconductor. Complete datasheet can be | 10 | * resolution made by National Semiconductor. Complete datasheet can be |
10 | * obtained at their site: | 11 | * obtained at their site: |
11 | * http://www.national.com/pf/LM/LM77.html | 12 | * http://www.national.com/pf/LM/LM77.html |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2 of the License, or | ||
16 | * (at your option) any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
21 | * GNU General Public License for more details. | ||
22 | */ | 13 | */ |
23 | 14 | ||
24 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index 5bb35dff3d76..8fefca9bbbb7 100644 --- a/drivers/hwmon/lm83.c +++ b/drivers/hwmon/lm83.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * lm83.c - Part of lm_sensors, Linux kernel modules for hardware | 3 | * lm83.c - Part of lm_sensors, Linux kernel modules for hardware |
3 | * monitoring | 4 | * monitoring |
@@ -15,16 +16,6 @@ | |||
15 | * Also supports the LM82 temp sensor, which is basically a stripped down | 16 | * Also supports the LM82 temp sensor, which is basically a stripped down |
16 | * model of the LM83. Datasheet is here: | 17 | * model of the LM83. Datasheet is here: |
17 | * http://www.national.com/pf/LM/LM82.html | 18 | * http://www.national.com/pf/LM/LM82.html |
18 | * | ||
19 | * This program is free software; you can redistribute it and/or modify | ||
20 | * it under the terms of the GNU General Public License as published by | ||
21 | * the Free Software Foundation; either version 2 of the License, or | ||
22 | * (at your option) any later version. | ||
23 | * | ||
24 | * This program is distributed in the hope that it will be useful, | ||
25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
27 | * GNU General Public License for more details. | ||
28 | */ | 19 | */ |
29 | 20 | ||
30 | #include <linux/module.h> | 21 | #include <linux/module.h> |
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c index 39d8afe4279a..84347db5edf3 100644 --- a/drivers/hwmon/lm92.c +++ b/drivers/hwmon/lm92.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * lm92 - Hardware monitoring driver | 3 | * lm92 - Hardware monitoring driver |
3 | * Copyright (C) 2005-2008 Jean Delvare <jdelvare@suse.de> | 4 | * Copyright (C) 2005-2008 Jean Delvare <jdelvare@suse.de> |
@@ -24,16 +25,6 @@ | |||
24 | * Support could easily be added for the National Semiconductor LM76 | 25 | * Support could easily be added for the National Semiconductor LM76 |
25 | * and Maxim MAX6633 and MAX6634 chips, which are mostly compatible | 26 | * and Maxim MAX6633 and MAX6634 chips, which are mostly compatible |
26 | * with the LM92. | 27 | * with the LM92. |
27 | * | ||
28 | * This program is free software; you can redistribute it and/or modify | ||
29 | * it under the terms of the GNU General Public License as published by | ||
30 | * the Free Software Foundation; either version 2 of the License, or | ||
31 | * (at your option) any later version. | ||
32 | * | ||
33 | * This program is distributed in the hope that it will be useful, | ||
34 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
35 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
36 | * GNU General Public License for more details. | ||
37 | */ | 28 | */ |
38 | 29 | ||
39 | #include <linux/module.h> | 30 | #include <linux/module.h> |
diff --git a/drivers/hwmon/lm95234.c b/drivers/hwmon/lm95234.c index 02cd48bdde8d..8a2a2a490496 100644 --- a/drivers/hwmon/lm95234.c +++ b/drivers/hwmon/lm95234.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Driver for Texas Instruments / National Semiconductor LM95234 | 3 | * Driver for Texas Instruments / National Semiconductor LM95234 |
3 | * | 4 | * |
@@ -5,16 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Derived from lm95241.c | 7 | * Derived from lm95241.c |
7 | * Copyright (C) 2008, 2010 Davide Rizzo <elpa.rizzo@gmail.com> | 8 | * Copyright (C) 2008, 2010 Davide Rizzo <elpa.rizzo@gmail.com> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | */ | 9 | */ |
19 | 10 | ||
20 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c index 6c5215e6d448..8d66d6e3c0fc 100644 --- a/drivers/hwmon/lm95241.c +++ b/drivers/hwmon/lm95241.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2008, 2010 Davide Rizzo <elpa.rizzo@gmail.com> | 3 | * Copyright (C) 2008, 2010 Davide Rizzo <elpa.rizzo@gmail.com> |
3 | * | 4 | * |
@@ -5,16 +6,6 @@ | |||
5 | * It reports up to three temperatures (its own plus up to two external ones). | 6 | * It reports up to three temperatures (its own plus up to two external ones). |
6 | * Complete datasheet can be obtained from National's website at: | 7 | * Complete datasheet can be obtained from National's website at: |
7 | * http://www.national.com/ds.cgi/LM/LM95241.pdf | 8 | * http://www.national.com/ds.cgi/LM/LM95241.pdf |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | */ | 9 | */ |
19 | 10 | ||
20 | #include <linux/bitops.h> | 11 | #include <linux/bitops.h> |
diff --git a/drivers/hwmon/lm95245.c b/drivers/hwmon/lm95245.c index 8d08ca8bbdf8..057614e664e1 100644 --- a/drivers/hwmon/lm95245.c +++ b/drivers/hwmon/lm95245.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2011 Alexander Stein <alexander.stein@systec-electronic.com> | 3 | * Copyright (C) 2011 Alexander Stein <alexander.stein@systec-electronic.com> |
3 | * | 4 | * |
@@ -5,16 +6,6 @@ | |||
5 | * It reports up to two temperatures (its own plus an external one). | 6 | * It reports up to two temperatures (its own plus an external one). |
6 | * | 7 | * |
7 | * This driver is based on lm95241.c | 8 | * This driver is based on lm95241.c |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | */ | 9 | */ |
19 | 10 | ||
20 | #include <linux/err.h> | 11 | #include <linux/err.h> |
diff --git a/drivers/hwmon/ltc2945.c b/drivers/hwmon/ltc2945.c index f16716a1fead..2818276ed3d6 100644 --- a/drivers/hwmon/ltc2945.c +++ b/drivers/hwmon/ltc2945.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Driver for Linear Technology LTC2945 I2C Power Monitor | 3 | * Driver for Linear Technology LTC2945 I2C Power Monitor |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Guenter Roeck | 5 | * Copyright (c) 2014 Guenter Roeck |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/hwmon/ltc4222.c b/drivers/hwmon/ltc4222.c index 32248f351a6e..d15485e93fb8 100644 --- a/drivers/hwmon/ltc4222.c +++ b/drivers/hwmon/ltc4222.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Driver for Linear Technology LTC4222 Dual Hot Swap controller | 3 | * Driver for Linear Technology LTC4222 Dual Hot Swap controller |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Guenter Roeck | 5 | * Copyright (c) 2014 Guenter Roeck |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/hwmon/ltc4260.c b/drivers/hwmon/ltc4260.c index 011b1ae98ff1..8b8fd4a313ee 100644 --- a/drivers/hwmon/ltc4260.c +++ b/drivers/hwmon/ltc4260.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Driver for Linear Technology LTC4260 I2C Positive Voltage Hot Swap Controller | 3 | * Driver for Linear Technology LTC4260 I2C Positive Voltage Hot Swap Controller |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Guenter Roeck | 5 | * Copyright (c) 2014 Guenter Roeck |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/hwmon/max1619.c b/drivers/hwmon/max1619.c index 94e345fb2a78..87c6665bab3a 100644 --- a/drivers/hwmon/max1619.c +++ b/drivers/hwmon/max1619.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * max1619.c - Part of lm_sensors, Linux kernel modules for hardware | 3 | * max1619.c - Part of lm_sensors, Linux kernel modules for hardware |
3 | * monitoring | 4 | * monitoring |
@@ -9,16 +10,6 @@ | |||
9 | * one external one). Complete datasheet can be | 10 | * one external one). Complete datasheet can be |
10 | * obtained from Maxim's website at: | 11 | * obtained from Maxim's website at: |
11 | * http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf | 12 | * http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2 of the License, or | ||
16 | * (at your option) any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
21 | * GNU General Public License for more details. | ||
22 | */ | 13 | */ |
23 | 14 | ||
24 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/drivers/hwmon/max31790.c b/drivers/hwmon/max31790.c index 0b0b04d36931..117fb79ef294 100644 --- a/drivers/hwmon/max31790.c +++ b/drivers/hwmon/max31790.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * max31790.c - Part of lm_sensors, Linux kernel modules for hardware | 3 | * max31790.c - Part of lm_sensors, Linux kernel modules for hardware |
3 | * monitoring. | 4 | * monitoring. |
4 | * | 5 | * |
5 | * (C) 2015 by Il Han <corone.il.han@gmail.com> | 6 | * (C) 2015 by Il Han <corone.il.han@gmail.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | #include <linux/err.h> | 9 | #include <linux/err.h> |
diff --git a/drivers/hwmon/max6621.c b/drivers/hwmon/max6621.c index 1810a753f1a3..a8bb5de14230 100644 --- a/drivers/hwmon/max6621.c +++ b/drivers/hwmon/max6621.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for Maxim MAX6621 | 3 | * Hardware monitoring driver for Maxim MAX6621 |
3 | * | 4 | * |
4 | * Copyright (c) 2017 Mellanox Technologies. All rights reserved. | 5 | * Copyright (c) 2017 Mellanox Technologies. All rights reserved. |
5 | * Copyright (c) 2017 Vadim Pasternak <vadimp@mellanox.com> | 6 | * Copyright (c) 2017 Vadim Pasternak <vadimp@mellanox.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
diff --git a/drivers/hwmon/max6697.c b/drivers/hwmon/max6697.c index 328793eaee3c..743752a2467a 100644 --- a/drivers/hwmon/max6697.c +++ b/drivers/hwmon/max6697.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net> | 3 | * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net> |
3 | * | 4 | * |
4 | * based on max1668.c | 5 | * based on max1668.c |
5 | * Copyright (c) 2011 David George <david.george@ska.ac.za> | 6 | * Copyright (c) 2011 David George <david.george@ska.ac.za> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/hwmon/nct6683.c b/drivers/hwmon/nct6683.c index a753464a1a33..c0229152296f 100644 --- a/drivers/hwmon/nct6683.c +++ b/drivers/hwmon/nct6683.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * nct6683 - Driver for the hardware monitoring functionality of | 3 | * nct6683 - Driver for the hardware monitoring functionality of |
3 | * Nuvoton NCT6683D eSIO | 4 | * Nuvoton NCT6683D eSIO |
@@ -7,16 +8,6 @@ | |||
7 | * Derived from nct6775 driver | 8 | * Derived from nct6775 driver |
8 | * Copyright (C) 2012, 2013 Guenter Roeck <linux@roeck-us.net> | 9 | * Copyright (C) 2012, 2013 Guenter Roeck <linux@roeck-us.net> |
9 | * | 10 | * |
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License as published by | ||
12 | * the Free Software Foundation; either version 2 of the License, or | ||
13 | * (at your option) any later version. | ||
14 | * | ||
15 | * This program is distributed in the hope that it will be useful, | ||
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | * GNU General Public License for more details. | ||
19 | * | ||
20 | * Supports the following chips: | 11 | * Supports the following chips: |
21 | * | 12 | * |
22 | * Chip #vin #fan #pwm #temp chip ID | 13 | * Chip #vin #fan #pwm #temp chip ID |
diff --git a/drivers/hwmon/nct7802.c b/drivers/hwmon/nct7802.c index 6aa44492ae30..ec7bcf8d7cd6 100644 --- a/drivers/hwmon/nct7802.c +++ b/drivers/hwmon/nct7802.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * nct7802 - Driver for Nuvoton NCT7802Y | 3 | * nct7802 - Driver for Nuvoton NCT7802Y |
3 | * | 4 | * |
4 | * Copyright (C) 2014 Guenter Roeck <linux@roeck-us.net> | 5 | * Copyright (C) 2014 Guenter Roeck <linux@roeck-us.net> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/hwmon/nct7904.c b/drivers/hwmon/nct7904.c index 04516789b070..58a957445484 100644 --- a/drivers/hwmon/nct7904.c +++ b/drivers/hwmon/nct7904.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * nct7904.c - driver for Nuvoton NCT7904D. | 3 | * nct7904.c - driver for Nuvoton NCT7904D. |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Kontron | 5 | * Copyright (c) 2015 Kontron |
5 | * Author: Vadim V. Vlasov <vvlasov@dev.rtsoft.ru> | 6 | * Author: Vadim V. Vlasov <vvlasov@dev.rtsoft.ru> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/hwmon/pmbus/adm1275.c b/drivers/hwmon/pmbus/adm1275.c index f569372c9204..82052b6611c9 100644 --- a/drivers/hwmon/pmbus/adm1275.c +++ b/drivers/hwmon/pmbus/adm1275.c | |||
@@ -1,19 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for Analog Devices ADM1275 Hot-Swap Controller | 3 | * Hardware monitoring driver for Analog Devices ADM1275 Hot-Swap Controller |
3 | * and Digital Power Monitor | 4 | * and Digital Power Monitor |
4 | * | 5 | * |
5 | * Copyright (c) 2011 Ericsson AB. | 6 | * Copyright (c) 2011 Ericsson AB. |
6 | * Copyright (c) 2018 Guenter Roeck | 7 | * Copyright (c) 2018 Guenter Roeck |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | */ | 8 | */ |
18 | 9 | ||
19 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/hwmon/pmbus/ltc2978.c b/drivers/hwmon/pmbus/ltc2978.c index 29c0b7219aaa..f01f4887fb2e 100644 --- a/drivers/hwmon/pmbus/ltc2978.c +++ b/drivers/hwmon/pmbus/ltc2978.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for LTC2978 and compatible chips. | 3 | * Hardware monitoring driver for LTC2978 and compatible chips. |
3 | * | 4 | * |
@@ -5,16 +6,6 @@ | |||
5 | * Copyright (c) 2013, 2014, 2015 Guenter Roeck | 6 | * Copyright (c) 2013, 2014, 2015 Guenter Roeck |
6 | * Copyright (c) 2015 Linear Technology | 7 | * Copyright (c) 2015 Linear Technology |
7 | * Copyright (c) 2018 Analog Devices Inc. | 8 | * Copyright (c) 2018 Analog Devices Inc. |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | */ | 9 | */ |
19 | 10 | ||
20 | #include <linux/delay.h> | 11 | #include <linux/delay.h> |
diff --git a/drivers/hwmon/pmbus/ltc3815.c b/drivers/hwmon/pmbus/ltc3815.c index bb32e6276622..b83a18a58364 100644 --- a/drivers/hwmon/pmbus/ltc3815.c +++ b/drivers/hwmon/pmbus/ltc3815.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for LTC3815 | 3 | * Hardware monitoring driver for LTC3815 |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Linear Technology | 5 | * Copyright (c) 2015 Linear Technology |
5 | * Copyright (c) 2015 Guenter Roeck | 6 | * Copyright (c) 2015 Guenter Roeck |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | #include <linux/err.h> | 9 | #include <linux/err.h> |
diff --git a/drivers/hwmon/pmbus/max20751.c b/drivers/hwmon/pmbus/max20751.c index ab74aeae8cf2..ee5f0cdbde06 100644 --- a/drivers/hwmon/pmbus/max20751.c +++ b/drivers/hwmon/pmbus/max20751.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for Maxim MAX20751 | 3 | * Hardware monitoring driver for Maxim MAX20751 |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Guenter Roeck | 5 | * Copyright (c) 2015 Guenter Roeck |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/hwmon/pmbus/tps40422.c b/drivers/hwmon/pmbus/tps40422.c index 32803825d47e..2b83dcda964a 100644 --- a/drivers/hwmon/pmbus/tps40422.c +++ b/drivers/hwmon/pmbus/tps40422.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for TI TPS40422 | 3 | * Hardware monitoring driver for TI TPS40422 |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Nokia Solutions and Networks. | 5 | * Copyright (c) 2014 Nokia Solutions and Networks. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/hwmon/pmbus/tps53679.c b/drivers/hwmon/pmbus/tps53679.c index 3fd5105ee9ae..86bb3aca09ed 100644 --- a/drivers/hwmon/pmbus/tps53679.c +++ b/drivers/hwmon/pmbus/tps53679.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Hardware monitoring driver for Texas Instruments TPS53679 | 3 | * Hardware monitoring driver for Texas Instruments TPS53679 |
3 | * | 4 | * |
4 | * Copyright (c) 2017 Mellanox Technologies. All rights reserved. | 5 | * Copyright (c) 2017 Mellanox Technologies. All rights reserved. |
5 | * Copyright (c) 2017 Vadim Pasternak <vadimp@mellanox.com> | 6 | * Copyright (c) 2017 Vadim Pasternak <vadimp@mellanox.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | #include <linux/err.h> | 9 | #include <linux/err.h> |
diff --git a/drivers/hwmon/powr1220.c b/drivers/hwmon/powr1220.c index 16c1c98e0e18..65997421ee3c 100644 --- a/drivers/hwmon/powr1220.c +++ b/drivers/hwmon/powr1220.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * powr1220.c - Driver for the Lattice POWR1220 programmable power supply | 3 | * powr1220.c - Driver for the Lattice POWR1220 programmable power supply |
3 | * and monitor. Users can read all ADC inputs along with their labels | 4 | * and monitor. Users can read all ADC inputs along with their labels |
@@ -5,16 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Copyright (c) 2014 Echo360 http://www.echo360.com | 7 | * Copyright (c) 2014 Echo360 http://www.echo360.com |
7 | * Scott Kanowitz <skanowitz@echo360.com> <scott.kanowitz@gmail.com> | 8 | * Scott Kanowitz <skanowitz@echo360.com> <scott.kanowitz@gmail.com> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | */ | 9 | */ |
19 | 10 | ||
20 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c index 5fb2745f0226..08c9b9f1c16e 100644 --- a/drivers/hwmon/pwm-fan.c +++ b/drivers/hwmon/pwm-fan.c | |||
@@ -1,19 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * pwm-fan.c - Hwmon driver for fans connected to PWM lines. | 3 | * pwm-fan.c - Hwmon driver for fans connected to PWM lines. |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | 5 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
5 | * | 6 | * |
6 | * Author: Kamil Debski <k.debski@samsung.com> | 7 | * Author: Kamil Debski <k.debski@samsung.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | */ | 8 | */ |
18 | 9 | ||
19 | #include <linux/hwmon.h> | 10 | #include <linux/hwmon.h> |
diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c index 81ebc96cdec9..7364764baaeb 100644 --- a/drivers/hwmon/sht3x.c +++ b/drivers/hwmon/sht3x.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* Sensirion SHT3x-DIS humidity and temperature sensor driver. | 2 | /* Sensirion SHT3x-DIS humidity and temperature sensor driver. |
2 | * The SHT3x comes in many different versions, this driver is for the | 3 | * The SHT3x comes in many different versions, this driver is for the |
3 | * I2C version only. | 4 | * I2C version only. |
@@ -5,17 +6,6 @@ | |||
5 | * Copyright (C) 2016 Sensirion AG, Switzerland | 6 | * Copyright (C) 2016 Sensirion AG, Switzerland |
6 | * Author: David Frey <david.frey@sensirion.com> | 7 | * Author: David Frey <david.frey@sensirion.com> |
7 | * Author: Pascal Sachs <pascal.sachs@sensirion.com> | 8 | * Author: Pascal Sachs <pascal.sachs@sensirion.com> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 2 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | * | ||
19 | */ | 9 | */ |
20 | 10 | ||
21 | #include <asm/page.h> | 11 | #include <asm/page.h> |
diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c index decd7df995ab..83fe08185ac7 100644 --- a/drivers/hwmon/shtc1.c +++ b/drivers/hwmon/shtc1.c | |||
@@ -1,18 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* Sensirion SHTC1 humidity and temperature sensor driver | 2 | /* Sensirion SHTC1 humidity and temperature sensor driver |
2 | * | 3 | * |
3 | * Copyright (C) 2014 Sensirion AG, Switzerland | 4 | * Copyright (C) 2014 Sensirion AG, Switzerland |
4 | * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com> | 5 | * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | */ | 6 | */ |
17 | 7 | ||
18 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/hwmon/stts751.c b/drivers/hwmon/stts751.c index f670796b609a..35b353c2b0a1 100644 --- a/drivers/hwmon/stts751.c +++ b/drivers/hwmon/stts751.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * STTS751 sensor driver | 3 | * STTS751 sensor driver |
3 | * | 4 | * |
@@ -8,16 +9,6 @@ | |||
8 | * Written by Andrea Merello <andrea.merello@gmail.com> | 9 | * Written by Andrea Merello <andrea.merello@gmail.com> |
9 | * | 10 | * |
10 | * Based on LM95241 driver and LM90 driver | 11 | * Based on LM95241 driver and LM90 driver |
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License as published by | ||
14 | * the Free Software Foundation; either version 2 of the License, or | ||
15 | * (at your option) any later version. | ||
16 | * | ||
17 | * This program is distributed in the hope that it will be useful, | ||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | * GNU General Public License for more details. | ||
21 | */ | 12 | */ |
22 | 13 | ||
23 | #include <linux/bitops.h> | 14 | #include <linux/bitops.h> |
diff --git a/drivers/hwmon/tc654.c b/drivers/hwmon/tc654.c index 81dd229d7db4..3e3b8c61bd76 100644 --- a/drivers/hwmon/tc654.c +++ b/drivers/hwmon/tc654.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * tc654.c - Linux kernel modules for fan speed controller | 3 | * tc654.c - Linux kernel modules for fan speed controller |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Allied Telesis Labs NZ | 5 | * Copyright (C) 2016 Allied Telesis Labs NZ |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | 6 | */ |
16 | 7 | ||
17 | #include <linux/bitops.h> | 8 | #include <linux/bitops.h> |
diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c index f4ee55615dea..5fe35e5b2f73 100644 --- a/drivers/hwmon/tmp102.c +++ b/drivers/hwmon/tmp102.c | |||
@@ -1,16 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* Texas Instruments TMP102 SMBus temperature sensor driver | 2 | /* Texas Instruments TMP102 SMBus temperature sensor driver |
2 | * | 3 | * |
3 | * Copyright (C) 2010 Steven King <sfking@fdwdc.com> | 4 | * Copyright (C) 2010 Steven King <sfking@fdwdc.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | 5 | */ |
15 | 6 | ||
16 | #include <linux/delay.h> | 7 | #include <linux/delay.h> |
diff --git a/drivers/hwmon/tmp103.c b/drivers/hwmon/tmp103.c index a91726d33da8..49851533935e 100644 --- a/drivers/hwmon/tmp103.c +++ b/drivers/hwmon/tmp103.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Texas Instruments TMP103 SMBus temperature sensor driver | 3 | * Texas Instruments TMP103 SMBus temperature sensor driver |
3 | * Copyright (C) 2014 Heiko Schocher <hs@denx.de> | 4 | * Copyright (C) 2014 Heiko Schocher <hs@denx.de> |
@@ -6,17 +7,6 @@ | |||
6 | * Texas Instruments TMP102 SMBus temperature sensor driver | 7 | * Texas Instruments TMP102 SMBus temperature sensor driver |
7 | * | 8 | * |
8 | * Copyright (C) 2010 Steven King <sfking@fdwdc.com> | 9 | * Copyright (C) 2010 Steven King <sfking@fdwdc.com> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License as published by | ||
12 | * the Free Software Foundation; either version 2 of the License, or | ||
13 | * (at your option) any later version. | ||
14 | * | ||
15 | * This program is distributed in the hope that it will be useful, | ||
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | * GNU General Public License for more details. | ||
19 | * | ||
20 | */ | 10 | */ |
21 | 11 | ||
22 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/hwmon/tmp108.c b/drivers/hwmon/tmp108.c index 2447af704424..fe587d4f9b2d 100644 --- a/drivers/hwmon/tmp108.c +++ b/drivers/hwmon/tmp108.c | |||
@@ -1,16 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* Texas Instruments TMP108 SMBus temperature sensor driver | 2 | /* Texas Instruments TMP108 SMBus temperature sensor driver |
2 | * | 3 | * |
3 | * Copyright (C) 2016 John Muir <john@jmuir.com> | 4 | * Copyright (C) 2016 John Muir <john@jmuir.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | 5 | */ |
15 | 6 | ||
16 | #include <linux/delay.h> | 7 | #include <linux/delay.h> |
diff --git a/drivers/hwmon/tmp421.c b/drivers/hwmon/tmp421.c index 5e63010dd3a0..a94e35cff3e5 100644 --- a/drivers/hwmon/tmp421.c +++ b/drivers/hwmon/tmp421.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* tmp421.c | 2 | /* tmp421.c |
2 | * | 3 | * |
3 | * Copyright (C) 2009 Andre Prendel <andre.prendel@gmx.de> | 4 | * Copyright (C) 2009 Andre Prendel <andre.prendel@gmx.de> |
4 | * Preliminary support by: | 5 | * Preliminary support by: |
5 | * Melvin Rook, Raymond Ng | 6 | * Melvin Rook, Raymond Ng |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | 7 | */ |
17 | 8 | ||
18 | /* | 9 | /* |