diff options
Diffstat (limited to 'drivers/i2c')
39 files changed, 41 insertions, 369 deletions
diff --git a/drivers/i2c/algos/i2c-algo-pca.c b/drivers/i2c/algos/i2c-algo-pca.c index 883a290f6a4d..5ac93f41bfec 100644 --- a/drivers/i2c/algos/i2c-algo-pca.c +++ b/drivers/i2c/algos/i2c-algo-pca.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters | 3 | * i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters |
3 | * Copyright (C) 2004 Arcom Control Systems | 4 | * Copyright (C) 2004 Arcom Control Systems |
4 | * Copyright (C) 2008 Pengutronix | 5 | * Copyright (C) 2008 Pengutronix |
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/i2c/algos/i2c-algo-pcf.c b/drivers/i2c/algos/i2c-algo-pcf.c index 5c29a4d397cf..7a01f2687b4c 100644 --- a/drivers/i2c/algos/i2c-algo-pcf.c +++ b/drivers/i2c/algos/i2c-algo-pcf.c | |||
@@ -1,19 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-algo-pcf.c i2c driver algorithms for PCF8584 adapters | 3 | * i2c-algo-pcf.c i2c driver algorithms for PCF8584 adapters |
3 | * | 4 | * |
4 | * Copyright (C) 1995-1997 Simon G. Vogl | 5 | * Copyright (C) 1995-1997 Simon G. Vogl |
5 | * 1998-2000 Hans Berglund | 6 | * 1998-2000 Hans Berglund |
6 | * | 7 | * |
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 | * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and | 8 | * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and |
18 | * Frodo Looijaard <frodol@dds.nl>, and also from Martin Bailey | 9 | * Frodo Looijaard <frodol@dds.nl>, and also from Martin Bailey |
19 | * <mbailey@littlefeet-inc.com> | 10 | * <mbailey@littlefeet-inc.com> |
diff --git a/drivers/i2c/algos/i2c-algo-pcf.h b/drivers/i2c/algos/i2c-algo-pcf.h index 262ee801975b..2448ab192ce5 100644 --- a/drivers/i2c/algos/i2c-algo-pcf.h +++ b/drivers/i2c/algos/i2c-algo-pcf.h | |||
@@ -1,18 +1,11 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
1 | /* -------------------------------------------------------------------- */ | 2 | /* -------------------------------------------------------------------- */ |
2 | /* i2c-pcf8584.h: PCF 8584 global defines */ | 3 | /* i2c-pcf8584.h: PCF 8584 global defines */ |
3 | /* -------------------------------------------------------------------- */ | 4 | /* -------------------------------------------------------------------- */ |
4 | /* Copyright (C) 1996 Simon G. Vogl | 5 | /* Copyright (C) 1996 Simon G. Vogl |
5 | 1999 Hans Berglund | 6 | 1999 Hans Berglund |
6 | 7 | ||
7 | This program is free software; you can redistribute it and/or modify | 8 | */ |
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 | /* -------------------------------------------------------------------- */ | 9 | /* -------------------------------------------------------------------- */ |
17 | 10 | ||
18 | /* With some changes from Frodo Looijaard <frodol@dds.nl> */ | 11 | /* With some changes from Frodo Looijaard <frodol@dds.nl> */ |
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c index 4f2d78868281..a43deea390f5 100644 --- a/drivers/i2c/busses/i2c-ali1535.c +++ b/drivers/i2c/busses/i2c-ali1535.c | |||
@@ -1,19 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2000 Frodo Looijaard <frodol@dds.nl>, | 3 | * Copyright (c) 2000 Frodo Looijaard <frodol@dds.nl>, |
3 | * Philip Edelbrock <phil@netroedge.com>, | 4 | * Philip Edelbrock <phil@netroedge.com>, |
4 | * Mark D. Studebaker <mdsxyz123@yahoo.com>, | 5 | * Mark D. Studebaker <mdsxyz123@yahoo.com>, |
5 | * Dan Eaton <dan.eaton@rocketlogix.com> and | 6 | * Dan Eaton <dan.eaton@rocketlogix.com> and |
6 | * Stephen Rousset <stephen.rousset@rocketlogix.com> | 7 | * Stephen Rousset <stephen.rousset@rocketlogix.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 | /* | 10 | /* |
diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c index 6e6bf46bcb52..02185a1cfa77 100644 --- a/drivers/i2c/busses/i2c-ali15x3.c +++ b/drivers/i2c/busses/i2c-ali15x3.c | |||
@@ -1,17 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 1999 Frodo Looijaard <frodol@dds.nl> and | 3 | Copyright (c) 1999 Frodo Looijaard <frodol@dds.nl> and |
3 | Philip Edelbrock <phil@netroedge.com> and | 4 | Philip Edelbrock <phil@netroedge.com> and |
4 | Mark D. Studebaker <mdsxyz123@yahoo.com> | 5 | Mark D. Studebaker <mdsxyz123@yahoo.com> |
5 | 6 | ||
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 | */ | 7 | */ |
16 | 8 | ||
17 | /* | 9 | /* |
diff --git a/drivers/i2c/busses/i2c-amd756-s4882.c b/drivers/i2c/busses/i2c-amd756-s4882.c index a2f5f992af7a..063274388a75 100644 --- a/drivers/i2c/busses/i2c-amd756-s4882.c +++ b/drivers/i2c/busses/i2c-amd756-s4882.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-amd756-s4882.c - i2c-amd756 extras for the Tyan S4882 motherboard | 3 | * i2c-amd756-s4882.c - i2c-amd756 extras for the Tyan S4882 motherboard |
3 | * | 4 | * |
4 | * Copyright (C) 2004, 2008 Jean Delvare <jdelvare@suse.de> | 5 | * Copyright (C) 2004, 2008 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 | /* | 8 | /* |
diff --git a/drivers/i2c/busses/i2c-amd756.c b/drivers/i2c/busses/i2c-amd756.c index 274908cd1fde..ef1307a258e9 100644 --- a/drivers/i2c/busses/i2c-amd756.c +++ b/drivers/i2c/busses/i2c-amd756.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 1999-2002 Merlin Hughes <merlin@merlin.org> | 3 | Copyright (c) 1999-2002 Merlin Hughes <merlin@merlin.org> |
3 | 4 | ||
@@ -6,15 +7,6 @@ | |||
6 | Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and | 7 | Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and |
7 | Philip Edelbrock <phil@netroedge.com> | 8 | Philip Edelbrock <phil@netroedge.com> |
8 | 9 | ||
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 | */ | 10 | */ |
19 | 11 | ||
20 | /* | 12 | /* |
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c index 5bcb1f0bb334..22aed922552b 100644 --- a/drivers/i2c/busses/i2c-au1550.c +++ b/drivers/i2c/busses/i2c-au1550.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-au1550.c: SMBus (i2c) adapter for Alchemy PSC interface | 3 | * i2c-au1550.c: SMBus (i2c) adapter for Alchemy PSC interface |
3 | * Copyright (C) 2004 Embedded Edge, LLC <dan@embeddededge.com> | 4 | * Copyright (C) 2004 Embedded Edge, LLC <dan@embeddededge.com> |
@@ -11,16 +12,6 @@ | |||
11 | * This is just a skeleton adapter to use with the Au1550 PSC | 12 | * This is just a skeleton adapter to use with the Au1550 PSC |
12 | * algorithm. It was developed for the Pb1550, but will work with | 13 | * algorithm. It was developed for the Pb1550, but will work with |
13 | * any Au1550 board that has a similar PSC configuration. | 14 | * any Au1550 board that has a similar PSC configuration. |
14 | * | ||
15 | * This program is free software; you can redistribute it and/or | ||
16 | * modify it under the terms of the GNU General Public License | ||
17 | * as published by the Free Software Foundation; either version 2 | ||
18 | * of the License, or (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | */ | 15 | */ |
25 | 16 | ||
26 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index 8a8ca945561b..187900594e3d 100644 --- a/drivers/i2c/busses/i2c-cpm.c +++ b/drivers/i2c/busses/i2c-cpm.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Freescale CPM1/CPM2 I2C interface. | 3 | * Freescale CPM1/CPM2 I2C interface. |
3 | * Copyright (c) 1999 Dan Malek (dmalek@jlc.net). | 4 | * Copyright (c) 1999 Dan Malek (dmalek@jlc.net). |
@@ -13,16 +14,6 @@ | |||
13 | * | 14 | * |
14 | * Converted to of_platform_device. Renamed to i2c-cpm.c. | 15 | * Converted to of_platform_device. Renamed to i2c-cpm.c. |
15 | * (C) 2007,2008 Jochen Friedrich <jochen@scram.de> | 16 | * (C) 2007,2008 Jochen Friedrich <jochen@scram.de> |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify | ||
18 | * it under the terms of the GNU General Public License as published by | ||
19 | * the Free Software Foundation; either version 2 of the License, or | ||
20 | * (at your option) any later version. | ||
21 | * | ||
22 | * This program is distributed in the hope that it will be useful, | ||
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
25 | * GNU General Public License for more details. | ||
26 | */ | 17 | */ |
27 | 18 | ||
28 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c index 11caafa0e050..e3ceb256a380 100644 --- a/drivers/i2c/busses/i2c-davinci.c +++ b/drivers/i2c/busses/i2c-davinci.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * TI DAVINCI I2C adapter driver. | 3 | * TI DAVINCI I2C adapter driver. |
3 | * | 4 | * |
@@ -8,17 +9,7 @@ | |||
8 | * | 9 | * |
9 | * ---------------------------------------------------------------------------- | 10 | * ---------------------------------------------------------------------------- |
10 | * | 11 | * |
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License as published by | ||
13 | * the Free Software Foundation; either version 2 of the License, or | ||
14 | * (at your option) any later version. | ||
15 | * | ||
16 | * This program is distributed in the hope that it will be useful, | ||
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | * GNU General Public License for more details. | ||
20 | * ---------------------------------------------------------------------------- | 12 | * ---------------------------------------------------------------------------- |
21 | * | ||
22 | */ | 13 | */ |
23 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
24 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 5416003e0605..140426db28df 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c | |||
@@ -1,18 +1,11 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* ------------------------------------------------------------------------- */ | 2 | /* ------------------------------------------------------------------------- */ |
2 | /* i2c-elektor.c i2c-hw access for PCF8584 style isa bus adaptes */ | 3 | /* i2c-elektor.c i2c-hw access for PCF8584 style isa bus adaptes */ |
3 | /* ------------------------------------------------------------------------- */ | 4 | /* ------------------------------------------------------------------------- */ |
4 | /* Copyright (C) 1995-97 Simon G. Vogl | 5 | /* Copyright (C) 1995-97 Simon G. Vogl |
5 | 1998-99 Hans Berglund | 6 | 1998-99 Hans Berglund |
6 | 7 | ||
7 | This program is free software; you can redistribute it and/or modify | 8 | */ |
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 | /* ------------------------------------------------------------------------- */ | 9 | /* ------------------------------------------------------------------------- */ |
17 | 10 | ||
18 | /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even | 11 | /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even |
diff --git a/drivers/i2c/busses/i2c-hydra.c b/drivers/i2c/busses/i2c-hydra.c index b7864cf42a72..c60b73e933cf 100644 --- a/drivers/i2c/busses/i2c-hydra.c +++ b/drivers/i2c/busses/i2c-hydra.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | i2c Support for the Apple `Hydra' Mac I/O | 3 | i2c Support for the Apple `Hydra' Mac I/O |
3 | 4 | ||
@@ -6,15 +7,6 @@ | |||
6 | Based on i2c Support for Via Technologies 82C586B South Bridge | 7 | Based on i2c Support for Via Technologies 82C586B South Bridge |
7 | Copyright (c) 1998, 1999 Kyösti Mälkki <kmalkki@cc.hut.fi> | 8 | Copyright (c) 1998, 1999 Kyösti Mälkki <kmalkki@cc.hut.fi> |
8 | 9 | ||
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 | */ | 10 | */ |
19 | 11 | ||
20 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 679c6c41f64b..ac7f7817dc89 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, | 3 | Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, |
3 | Philip Edelbrock <phil@netroedge.com>, and Mark D. Studebaker | 4 | Philip Edelbrock <phil@netroedge.com>, and Mark D. Studebaker |
@@ -6,15 +7,6 @@ | |||
6 | Copyright (C) 2010 Intel Corporation, | 7 | Copyright (C) 2010 Intel Corporation, |
7 | David Woodhouse <dwmw2@infradead.org> | 8 | David Woodhouse <dwmw2@infradead.org> |
8 | 9 | ||
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 | */ | 10 | */ |
19 | 11 | ||
20 | /* | 12 | /* |
diff --git a/drivers/i2c/busses/i2c-jz4780.c b/drivers/i2c/busses/i2c-jz4780.c index 30132c3957cd..25dcd73acd63 100644 --- a/drivers/i2c/busses/i2c-jz4780.c +++ b/drivers/i2c/busses/i2c-jz4780.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Ingenic JZ4780 I2C bus driver | 3 | * Ingenic JZ4780 I2C bus driver |
3 | * | 4 | * |
4 | * Copyright (C) 2006 - 2009 Ingenic Semiconductor Inc. | 5 | * Copyright (C) 2006 - 2009 Ingenic Semiconductor Inc. |
5 | * Copyright (C) 2015 Imagination Technologies | 6 | * Copyright (C) 2015 Imagination Technologies |
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/i2c/busses/i2c-nforce2-s4985.c b/drivers/i2c/busses/i2c-nforce2-s4985.c index 58a0fbf0e074..69a71bc9830d 100644 --- a/drivers/i2c/busses/i2c-nforce2-s4985.c +++ b/drivers/i2c/busses/i2c-nforce2-s4985.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-nforce2-s4985.c - i2c-nforce2 extras for the Tyan S4985 motherboard | 3 | * i2c-nforce2-s4985.c - i2c-nforce2 extras for the Tyan S4985 motherboard |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Jean Delvare <jdelvare@suse.de> | 5 | * Copyright (C) 2008 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 | /* | 8 | /* |
diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c index f6a1272c5854..777278386f58 100644 --- a/drivers/i2c/busses/i2c-nforce2.c +++ b/drivers/i2c/busses/i2c-nforce2.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | SMBus driver for nVidia nForce2 MCP | 3 | SMBus driver for nVidia nForce2 MCP |
3 | 4 | ||
@@ -8,15 +9,6 @@ | |||
8 | SMBus 2.0 driver for AMD-8111 IO-Hub | 9 | SMBus 2.0 driver for AMD-8111 IO-Hub |
9 | Copyright (c) 2002 Vojtech Pavlik | 10 | Copyright (c) 2002 Vojtech Pavlik |
10 | 11 | ||
11 | This program is free software; you can redistribute it and/or modify | ||
12 | it under the terms of the GNU General Public License as published by | ||
13 | the Free Software Foundation; either version 2 of the License, or | ||
14 | (at your option) any later version. | ||
15 | |||
16 | This program is distributed in the hope that it will be useful, | ||
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | GNU General Public License for more details. | ||
20 | */ | 12 | */ |
21 | 13 | ||
22 | /* | 14 | /* |
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index faa0394048a0..2dfea357b131 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * TI OMAP I2C master mode driver | 3 | * TI OMAP I2C master mode driver |
3 | * | 4 | * |
@@ -12,16 +13,6 @@ | |||
12 | * Juha Yrjölä <juha.yrjola@solidboot.com> | 13 | * Juha Yrjölä <juha.yrjola@solidboot.com> |
13 | * Syed Khasim <x0khasim@ti.com> | 14 | * Syed Khasim <x0khasim@ti.com> |
14 | * Nishant Menon <nm@ti.com> | 15 | * Nishant Menon <nm@ti.com> |
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2 of the License, or | ||
19 | * (at your option) any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | */ | 16 | */ |
26 | 17 | ||
27 | #include <linux/module.h> | 18 | #include <linux/module.h> |
diff --git a/drivers/i2c/busses/i2c-parport-light.c b/drivers/i2c/busses/i2c-parport-light.c index fa41ff799533..00f6aaf22cfc 100644 --- a/drivers/i2c/busses/i2c-parport-light.c +++ b/drivers/i2c/busses/i2c-parport-light.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* ------------------------------------------------------------------------ * | 2 | /* ------------------------------------------------------------------------ * |
2 | * i2c-parport-light.c I2C bus over parallel port * | 3 | * i2c-parport-light.c I2C bus over parallel port * |
3 | * ------------------------------------------------------------------------ * | 4 | * ------------------------------------------------------------------------ * |
@@ -9,15 +10,6 @@ | |||
9 | Frodo Looijaard <frodol@dds.nl> | 10 | Frodo Looijaard <frodol@dds.nl> |
10 | Kyösti Mälkki <kmalkki@cc.hut.fi> | 11 | Kyösti Mälkki <kmalkki@cc.hut.fi> |
11 | 12 | ||
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 | * ------------------------------------------------------------------------ */ | 13 | * ------------------------------------------------------------------------ */ |
22 | 14 | ||
23 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/i2c-parport.c index 319209a07353..e8ed882de402 100644 --- a/drivers/i2c/busses/i2c-parport.c +++ b/drivers/i2c/busses/i2c-parport.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* ------------------------------------------------------------------------ * | 2 | /* ------------------------------------------------------------------------ * |
2 | * i2c-parport.c I2C bus over parallel port * | 3 | * i2c-parport.c I2C bus over parallel port * |
3 | * ------------------------------------------------------------------------ * | 4 | * ------------------------------------------------------------------------ * |
@@ -9,15 +10,6 @@ | |||
9 | Frodo Looijaard <frodol@dds.nl> | 10 | Frodo Looijaard <frodol@dds.nl> |
10 | Kyösti Mälkki <kmalkki@cc.hut.fi> | 11 | Kyösti Mälkki <kmalkki@cc.hut.fi> |
11 | 12 | ||
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 | * ------------------------------------------------------------------------ */ | 13 | * ------------------------------------------------------------------------ */ |
22 | 14 | ||
23 | #define pr_fmt(fmt) "i2c-parport: " fmt | 15 | #define pr_fmt(fmt) "i2c-parport: " fmt |
diff --git a/drivers/i2c/busses/i2c-parport.h b/drivers/i2c/busses/i2c-parport.h index 84a6616b072f..3b32d92b1264 100644 --- a/drivers/i2c/busses/i2c-parport.h +++ b/drivers/i2c/busses/i2c-parport.h | |||
@@ -1,17 +1,9 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
1 | /* ------------------------------------------------------------------------ * | 2 | /* ------------------------------------------------------------------------ * |
2 | * i2c-parport.h I2C bus over parallel port * | 3 | * i2c-parport.h I2C bus over parallel port * |
3 | * ------------------------------------------------------------------------ * | 4 | * ------------------------------------------------------------------------ * |
4 | Copyright (C) 2003-2010 Jean Delvare <jdelvare@suse.de> | 5 | Copyright (C) 2003-2010 Jean Delvare <jdelvare@suse.de> |
5 | 6 | ||
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 | * ------------------------------------------------------------------------ */ | 7 | * ------------------------------------------------------------------------ */ |
16 | 8 | ||
17 | #define PORT_DATA 0 | 9 | #define PORT_DATA 0 |
diff --git a/drivers/i2c/busses/i2c-pca-isa.c b/drivers/i2c/busses/i2c-pca-isa.c index 946ac646de2a..f27bc1e55385 100644 --- a/drivers/i2c/busses/i2c-pca-isa.c +++ b/drivers/i2c/busses/i2c-pca-isa.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-pca-isa.c driver for PCA9564 on ISA boards | 3 | * i2c-pca-isa.c driver for PCA9564 on ISA boards |
3 | * Copyright (C) 2004 Arcom Control Systems | 4 | * Copyright (C) 2004 Arcom Control Systems |
4 | * Copyright (C) 2008 Pengutronix | 5 | * Copyright (C) 2008 Pengutronix |
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/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index e9a0514ae166..c46c4bddc7ca 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c | |||
@@ -1,16 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and | 3 | Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and |
3 | Philip Edelbrock <phil@netroedge.com> | 4 | Philip Edelbrock <phil@netroedge.com> |
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 | */ | 6 | */ |
15 | 7 | ||
16 | /* | 8 | /* |
diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 281113c28314..504f5bf0e625 100644 --- a/drivers/i2c/busses/i2c-powermac.c +++ b/drivers/i2c/busses/i2c-powermac.c | |||
@@ -1,18 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | i2c Support for Apple SMU Controller | 3 | i2c Support for Apple SMU Controller |
3 | 4 | ||
4 | Copyright (c) 2005 Benjamin Herrenschmidt, IBM Corp. | 5 | Copyright (c) 2005 Benjamin Herrenschmidt, IBM Corp. |
5 | <benh@kernel.crashing.org> | 6 | <benh@kernel.crashing.org> |
6 | 7 | ||
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 | 8 | ||
17 | */ | 9 | */ |
18 | 10 | ||
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 53bc021f4a5a..c9510d085c34 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -1,19 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* linux/drivers/i2c/busses/i2c-s3c2410.c | 2 | /* linux/drivers/i2c/busses/i2c-s3c2410.c |
2 | * | 3 | * |
3 | * Copyright (C) 2004,2005,2009 Simtec Electronics | 4 | * Copyright (C) 2004,2005,2009 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 5 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 6 | * |
6 | * S3C2410 I2C Controller | 7 | * S3C2410 I2C Controller |
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/i2c/busses/i2c-sibyte.c b/drivers/i2c/busses/i2c-sibyte.c index 2b6219d86b0f..9dcea2ba7168 100644 --- a/drivers/i2c/busses/i2c-sibyte.c +++ b/drivers/i2c/busses/i2c-sibyte.c | |||
@@ -1,17 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2004 Steven J. Hill | 3 | * Copyright (C) 2004 Steven J. Hill |
3 | * Copyright (C) 2001,2002,2003 Broadcom Corporation | 4 | * Copyright (C) 2001,2002,2003 Broadcom Corporation |
4 | * Copyright (C) 1995-2000 Simon G. Vogl | 5 | * Copyright (C) 1995-2000 Simon G. Vogl |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version 2 | ||
9 | * of the License, or (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/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c index d543a9867ba4..c793a5c14cda 100644 --- a/drivers/i2c/busses/i2c-sis5595.c +++ b/drivers/i2c/busses/i2c-sis5595.c | |||
@@ -1,16 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and | 3 | Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and |
3 | Philip Edelbrock <phil@netroedge.com> | 4 | Philip Edelbrock <phil@netroedge.com> |
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 | */ | 6 | */ |
15 | 7 | ||
16 | /* Note: we assume there can only be one SIS5595 with one SMBus interface */ | 8 | /* Note: we assume there can only be one SIS5595 with one SMBus interface */ |
diff --git a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c index a57aa4fe51a4..cfb8e04a2a83 100644 --- a/drivers/i2c/busses/i2c-sis630.c +++ b/drivers/i2c/busses/i2c-sis630.c | |||
@@ -1,15 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 2002,2003 Alexander Malysh <amalysh@web.de> | 3 | Copyright (c) 2002,2003 Alexander Malysh <amalysh@web.de> |
3 | 4 | ||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | */ | 5 | */ |
14 | 6 | ||
15 | /* | 7 | /* |
diff --git a/drivers/i2c/busses/i2c-sis96x.c b/drivers/i2c/busses/i2c-sis96x.c index 44b904426073..cde8003985a5 100644 --- a/drivers/i2c/busses/i2c-sis96x.c +++ b/drivers/i2c/busses/i2c-sis96x.c | |||
@@ -1,15 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 2003 Mark M. Hoffman <mhoffman@lightlink.com> | 3 | Copyright (c) 2003 Mark M. Hoffman <mhoffman@lightlink.com> |
3 | 4 | ||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | */ | 5 | */ |
14 | 6 | ||
15 | /* | 7 | /* |
diff --git a/drivers/i2c/busses/i2c-uniphier-f.c b/drivers/i2c/busses/i2c-uniphier-f.c index 03da4a539a2f..7acca2599f04 100644 --- a/drivers/i2c/busses/i2c-uniphier-f.c +++ b/drivers/i2c/busses/i2c-uniphier-f.c | |||
@@ -1,15 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> | 3 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | */ | 4 | */ |
14 | 5 | ||
15 | #include <linux/clk.h> | 6 | #include <linux/clk.h> |
diff --git a/drivers/i2c/busses/i2c-uniphier.c b/drivers/i2c/busses/i2c-uniphier.c index c488e558aef7..0173840c32af 100644 --- a/drivers/i2c/busses/i2c-uniphier.c +++ b/drivers/i2c/busses/i2c-uniphier.c | |||
@@ -1,15 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> | 3 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | */ | 4 | */ |
14 | 5 | ||
15 | #include <linux/clk.h> | 6 | #include <linux/clk.h> |
diff --git a/drivers/i2c/busses/i2c-via.c b/drivers/i2c/busses/i2c-via.c index 59b1d233ca7b..ad4f09c7f027 100644 --- a/drivers/i2c/busses/i2c-via.c +++ b/drivers/i2c/busses/i2c-via.c | |||
@@ -1,17 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | i2c Support for Via Technologies 82C586B South Bridge | 3 | i2c Support for Via Technologies 82C586B South Bridge |
3 | 4 | ||
4 | Copyright (c) 1998, 1999 Kyösti Mälkki <kmalkki@cc.hut.fi> | 5 | Copyright (c) 1998, 1999 Kyösti Mälkki <kmalkki@cc.hut.fi> |
5 | 6 | ||
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 | */ | 7 | */ |
16 | 8 | ||
17 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c index 0dc45e12bb1d..4abc7771af06 100644 --- a/drivers/i2c/busses/i2c-viapro.c +++ b/drivers/i2c/busses/i2c-viapro.c | |||
@@ -1,18 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, | 3 | Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, |
3 | Philip Edelbrock <phil@netroedge.com>, Kyösti Mälkki <kmalkki@cc.hut.fi>, | 4 | Philip Edelbrock <phil@netroedge.com>, Kyösti Mälkki <kmalkki@cc.hut.fi>, |
4 | Mark D. Studebaker <mdsxyz123@yahoo.com> | 5 | Mark D. Studebaker <mdsxyz123@yahoo.com> |
5 | Copyright (C) 2005 - 2008 Jean Delvare <jdelvare@suse.de> | 6 | Copyright (C) 2005 - 2008 Jean Delvare <jdelvare@suse.de> |
6 | 7 | ||
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 | */ | 8 | */ |
17 | 9 | ||
18 | /* | 10 | /* |
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index e0923bee8d1f..bd9afa383d12 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | Copyright (c) 2001,2002 Christer Weinigel <wingel@nano-system.com> | 3 | Copyright (c) 2001,2002 Christer Weinigel <wingel@nano-system.com> |
3 | 4 | ||
@@ -8,15 +9,6 @@ | |||
8 | Copyright (c) 2001 Benjamin Herrenschmidt <benh@kernel.crashing.org> | 9 | Copyright (c) 2001 Benjamin Herrenschmidt <benh@kernel.crashing.org> |
9 | Copyright (c) 2000 Philip Edelbrock <phil@stimpy.netroedge.com> | 10 | Copyright (c) 2000 Philip Edelbrock <phil@stimpy.netroedge.com> |
10 | 11 | ||
11 | This program is free software; you can redistribute it and/or | ||
12 | modify it under the terms of the GNU General Public License as | ||
13 | published by the Free Software Foundation; either version 2 of the | ||
14 | License, or (at your option) any later version. | ||
15 | |||
16 | This program is distributed in the hope that it will be useful, | ||
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
19 | General Public License for more details. | ||
20 | */ | 12 | */ |
21 | 13 | ||
22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/i2c/i2c-boardinfo.c b/drivers/i2c/i2c-boardinfo.c index 509a6007cdf6..8bc51d4e69df 100644 --- a/drivers/i2c/i2c-boardinfo.c +++ b/drivers/i2c/i2c-boardinfo.c | |||
@@ -1,15 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-boardinfo.c - collect pre-declarations of I2C devices | 3 | * i2c-boardinfo.c - collect pre-declarations of I2C devices |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | */ | 4 | */ |
14 | 5 | ||
15 | #include <linux/export.h> | 6 | #include <linux/export.h> |
diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c index d389d4fb0623..9e43508d4567 100644 --- a/drivers/i2c/i2c-core-base.c +++ b/drivers/i2c/i2c-core-base.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Linux I2C core | 3 | * Linux I2C core |
3 | * | 4 | * |
@@ -7,15 +8,6 @@ | |||
7 | * Michael Lawnick <michael.lawnick.ext@nsn.com> | 8 | * Michael Lawnick <michael.lawnick.ext@nsn.com> |
8 | * | 9 | * |
9 | * Copyright (C) 2013-2017 Wolfram Sang <wsa@the-dreams.de> | 10 | * Copyright (C) 2013-2017 Wolfram Sang <wsa@the-dreams.de> |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License as published by the Free | ||
13 | * Software Foundation; either version 2 of the License, or (at your option) | ||
14 | * any later version. | ||
15 | * | ||
16 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
17 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
18 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
19 | */ | 11 | */ |
20 | 12 | ||
21 | #define pr_fmt(fmt) "i2c-core: " fmt | 13 | #define pr_fmt(fmt) "i2c-core: " fmt |
diff --git a/drivers/i2c/i2c-core.h b/drivers/i2c/i2c-core.h index c88cfef81343..851c11b4c0f3 100644 --- a/drivers/i2c/i2c-core.h +++ b/drivers/i2c/i2c-core.h | |||
@@ -1,15 +1,6 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
1 | /* | 2 | /* |
2 | * i2c-core.h - interfaces internal to the I2C framework | 3 | * i2c-core.h - interfaces internal to the I2C framework |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | */ | 4 | */ |
14 | 5 | ||
15 | #include <linux/rwsem.h> | 6 | #include <linux/rwsem.h> |
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index 3f7b9af11137..e83bf56c1d1c 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | i2c-dev.c - i2c-bus driver, char device interface | 3 | i2c-dev.c - i2c-bus driver, char device interface |
3 | 4 | ||
@@ -5,15 +6,6 @@ | |||
5 | Copyright (C) 1998-99 Frodo Looijaard <frodol@dds.nl> | 6 | Copyright (C) 1998-99 Frodo Looijaard <frodol@dds.nl> |
6 | Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com> | 7 | Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com> |
7 | 8 | ||
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 | */ | 9 | */ |
18 | 10 | ||
19 | /* Note that this is a complete rewrite of Simon Vogl's i2c-dev module. | 11 | /* Note that this is a complete rewrite of Simon Vogl's i2c-dev module. |
diff --git a/drivers/i2c/i2c-smbus.c b/drivers/i2c/i2c-smbus.c index 5a1dd7f13bac..03096f47e6ab 100644 --- a/drivers/i2c/i2c-smbus.c +++ b/drivers/i2c/i2c-smbus.c | |||
@@ -1,18 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * i2c-smbus.c - SMBus extensions to the I2C protocol | 3 | * i2c-smbus.c - SMBus extensions to the I2C protocol |
3 | * | 4 | * |
4 | * Copyright (C) 2008 David Brownell | 5 | * Copyright (C) 2008 David Brownell |
5 | * Copyright (C) 2010 Jean Delvare <jdelvare@suse.de> | 6 | * Copyright (C) 2010 Jean Delvare <jdelvare@suse.de> |
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/device.h> | 9 | #include <linux/device.h> |
diff --git a/drivers/i2c/i2c-stub.c b/drivers/i2c/i2c-stub.c index f31ec0861979..537a598e22db 100644 --- a/drivers/i2c/i2c-stub.c +++ b/drivers/i2c/i2c-stub.c | |||
@@ -1,18 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | i2c-stub.c - I2C/SMBus chip emulator | 3 | i2c-stub.c - I2C/SMBus chip emulator |
3 | 4 | ||
4 | Copyright (c) 2004 Mark M. Hoffman <mhoffman@lightlink.com> | 5 | Copyright (c) 2004 Mark M. Hoffman <mhoffman@lightlink.com> |
5 | Copyright (C) 2007-2014 Jean Delvare <jdelvare@suse.de> | 6 | Copyright (C) 2007-2014 Jean Delvare <jdelvare@suse.de> |
6 | 7 | ||
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 | */ | 8 | */ |
17 | 9 | ||
18 | #define DEBUG 1 | 10 | #define DEBUG 1 |