diff options
Diffstat (limited to 'drivers/rtc')
46 files changed, 46 insertions, 201 deletions
diff --git a/drivers/rtc/rtc-88pm860x.c b/drivers/rtc/rtc-88pm860x.c index 73697e4b18a9..434285f495e0 100644 --- a/drivers/rtc/rtc-88pm860x.c +++ b/drivers/rtc/rtc-88pm860x.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Real Time Clock driver for Marvell 88PM860x PMIC | 3 | * Real Time Clock driver for Marvell 88PM860x PMIC |
3 | * | 4 | * |
4 | * Copyright (c) 2010 Marvell International Ltd. | 5 | * Copyright (c) 2010 Marvell International Ltd. |
5 | * Author: Haojian Zhuang <haojian.zhuang@marvell.com> | 6 | * Author: Haojian Zhuang <haojian.zhuang@marvell.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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/drivers/rtc/rtc-bq32k.c b/drivers/rtc/rtc-bq32k.c index ef52741000a8..4a63f0cd2321 100644 --- a/drivers/rtc/rtc-bq32k.c +++ b/drivers/rtc/rtc-bq32k.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for TI BQ32000 RTC. | 3 | * Driver for TI BQ32000 RTC. |
3 | * | 4 | * |
4 | * Copyright (C) 2009 Semihalf. | 5 | * Copyright (C) 2009 Semihalf. |
5 | * Copyright (C) 2014 Pavel Machek <pavel@denx.de> | 6 | * Copyright (C) 2014 Pavel Machek <pavel@denx.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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * You can get hardware description at | 8 | * You can get hardware description at |
12 | * http://www.ti.com/lit/ds/symlink/bq32000.pdf | 9 | * http://www.ti.com/lit/ds/symlink/bq32000.pdf |
13 | */ | 10 | */ |
diff --git a/drivers/rtc/rtc-ds1305.c b/drivers/rtc/rtc-ds1305.c index 2d502fc85698..e04d6e862c42 100644 --- a/drivers/rtc/rtc-ds1305.c +++ b/drivers/rtc/rtc-ds1305.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * rtc-ds1305.c -- driver for DS1305 and DS1306 SPI RTC chips | 3 | * rtc-ds1305.c -- driver for DS1305 and DS1306 SPI RTC chips |
3 | * | 4 | * |
4 | * Copyright (C) 2008 David Brownell | 5 | * Copyright (C) 2008 David Brownell |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
12 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index 07530fe1da2a..93d338e7732b 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * rtc-ds1307.c - RTC driver for some mostly-compatible I2C chips. | 3 | * rtc-ds1307.c - RTC driver for some mostly-compatible I2C chips. |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Copyright (C) 2006 David Brownell | 6 | * Copyright (C) 2006 David Brownell |
6 | * Copyright (C) 2009 Matthias Fuchs (rx8025 support) | 7 | * Copyright (C) 2009 Matthias Fuchs (rx8025 support) |
7 | * Copyright (C) 2012 Bertrand Achard (nvram access fixes) | 8 | * Copyright (C) 2012 Bertrand Achard (nvram access fixes) |
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 version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/acpi.h> | 11 | #include <linux/acpi.h> |
diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c index 5208da4cf94a..fa6de31d5793 100644 --- a/drivers/rtc/rtc-ds1343.c +++ b/drivers/rtc/rtc-ds1343.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* rtc-ds1343.c | 2 | /* rtc-ds1343.c |
2 | * | 3 | * |
3 | * Driver for Dallas Semiconductor DS1343 Low Current, SPI Compatible | 4 | * Driver for Dallas Semiconductor DS1343 Low Current, SPI Compatible |
@@ -5,11 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Author : Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com> | 7 | * Author : Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com> |
7 | * Ankur Srivastava <sankurece@gmail.com> : DS1343 Nvram Support | 8 | * Ankur Srivastava <sankurece@gmail.com> : DS1343 Nvram Support |
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 version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | */ | 9 | */ |
14 | 10 | ||
15 | #include <linux/init.h> | 11 | #include <linux/init.h> |
diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index 938512c676ee..d392a7bfdd1c 100644 --- a/drivers/rtc/rtc-ds1347.c +++ b/drivers/rtc/rtc-ds1347.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* rtc-ds1347.c | 2 | /* rtc-ds1347.c |
2 | * | 3 | * |
3 | * Driver for Dallas Semiconductor DS1347 Low Current, SPI Compatible | 4 | * Driver for Dallas Semiconductor DS1347 Low Current, SPI Compatible |
4 | * Real Time Clock | 5 | * Real Time Clock |
5 | * | 6 | * |
6 | * Author : Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com> | 7 | * Author : Raghavendra Chandra Ganiga <ravi23ganiga@gmail.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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/init.h> | 10 | #include <linux/init.h> |
diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index 3b095401f848..66fc8617d07e 100644 --- a/drivers/rtc/rtc-ds1390.c +++ b/drivers/rtc/rtc-ds1390.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * rtc-ds1390.c -- driver for the Dallas/Maxim DS1390/93/94 SPI RTC | 3 | * rtc-ds1390.c -- driver for the Dallas/Maxim DS1390/93/94 SPI RTC |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Mercury IMC Ltd | 5 | * Copyright (C) 2008 Mercury IMC Ltd |
5 | * Written by Mark Jackson <mpfj@mimc.co.uk> | 6 | * Written by Mark Jackson <mpfj@mimc.co.uk> |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * NOTE: Currently this driver only supports the bare minimum for read | 8 | * NOTE: Currently this driver only supports the bare minimum for read |
12 | * and write the RTC. The extra features provided by the chip family | 9 | * and write the RTC. The extra features provided by the chip family |
13 | * (alarms, trickle charger, different control registers) are unavailable. | 10 | * (alarms, trickle charger, different control registers) are unavailable. |
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index b8b6e51c0461..b6a477519280 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An rtc driver for the Dallas DS1511 | 3 | * An rtc driver for the Dallas DS1511 |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 5 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
5 | * Copyright (C) 2007 Andrew Sharp <andy.sharp@lsi.com> | 6 | * Copyright (C) 2007 Andrew Sharp <andy.sharp@lsi.com> |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Real time clock driver for the Dallas 1511 chip, which also | 8 | * Real time clock driver for the Dallas 1511 chip, which also |
12 | * contains a watchdog timer. There is a tiny amount of code that | 9 | * contains a watchdog timer. There is a tiny amount of code that |
13 | * platform code could use to mess with the watchdog device a little | 10 | * platform code could use to mess with the watchdog device a little |
diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c index 34af7a802f43..219d6b520a69 100644 --- a/drivers/rtc/rtc-ds1553.c +++ b/drivers/rtc/rtc-ds1553.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An rtc driver for the Dallas DS1553 | 3 | * An rtc driver for the Dallas DS1553 |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 5 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/bcd.h> | 8 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c index 5f4328524183..184e4a3e2bef 100644 --- a/drivers/rtc/rtc-ds1685.c +++ b/drivers/rtc/rtc-ds1685.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time | 3 | * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time |
3 | * chips. | 4 | * chips. |
@@ -10,10 +11,6 @@ | |||
10 | * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10. | 11 | * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10. |
11 | * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105. | 12 | * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105. |
12 | * Application Note 90, Using the Multiplex Bus RTC Extended Features. | 13 | * Application Note 90, Using the Multiplex Bus RTC Extended Features. |
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index 5a4c2c5e86fe..2b949f0dbaa9 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An rtc driver for the Dallas DS1742 | 3 | * An rtc driver for the Dallas DS1742 |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 5 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Copyright (C) 2006 Torsten Ertbjerg Rasmussen <tr@newtec.dk> | 7 | * Copyright (C) 2006 Torsten Ertbjerg Rasmussen <tr@newtec.dk> |
11 | * - nvram size determined from resource | 8 | * - nvram size determined from resource |
12 | * - this ds1742 driver now supports ds1743. | 9 | * - this ds1742 driver now supports ds1743. |
diff --git a/drivers/rtc/rtc-em3027.c b/drivers/rtc/rtc-em3027.c index b0ef8cfe742d..77cca1392253 100644 --- a/drivers/rtc/rtc-em3027.c +++ b/drivers/rtc/rtc-em3027.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An rtc/i2c driver for the EM Microelectronic EM3027 | 3 | * An rtc/i2c driver for the EM Microelectronic EM3027 |
3 | * Copyright 2011 CompuLab, Ltd. | 4 | * Copyright 2011 CompuLab, Ltd. |
@@ -5,10 +6,6 @@ | |||
5 | * Author: Mike Rapoport <mike@compulab.co.il> | 6 | * Author: Mike Rapoport <mike@compulab.co.il> |
6 | * | 7 | * |
7 | * Based on rtc-ds1672.c by Alessandro Zummo <a.zummo@towertech.it> | 8 | * Based on rtc-ds1672.c by Alessandro Zummo <a.zummo@towertech.it> |
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 version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/i2c.h> | 11 | #include <linux/i2c.h> |
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index e1137670d4d2..1caa21b82c7d 100644 --- a/drivers/rtc/rtc-fm3130.c +++ b/drivers/rtc/rtc-fm3130.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * rtc-fm3130.c - RTC driver for Ramtron FM3130 I2C chip. | 3 | * rtc-fm3130.c - RTC driver for Ramtron FM3130 I2C chip. |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Sergey Lapin | 5 | * Copyright (C) 2008 Sergey Lapin |
5 | * Based on ds1307 driver by James Chapman and David Brownell | 6 | * Based on ds1307 driver by James Chapman and David Brownell |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c index 890ccfc9e5aa..961bd5d1d109 100644 --- a/drivers/rtc/rtc-isl12022.c +++ b/drivers/rtc/rtc-isl12022.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An I2C driver for the Intersil ISL 12022 | 3 | * An I2C driver for the Intersil ISL 12022 |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on the Philips PCF8563 RTC | 7 | * Based on the Philips PCF8563 RTC |
7 | * by Alessandro Zummo <a.zummo@towertech.it>. | 8 | * by Alessandro Zummo <a.zummo@towertech.it>. |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or | ||
10 | * modify it under the terms of the GNU General Public License version | ||
11 | * 2 as published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/i2c.h> | 11 | #include <linux/i2c.h> |
diff --git a/drivers/rtc/rtc-lp8788.c b/drivers/rtc/rtc-lp8788.c index e20e7bd822e0..c0b8fbce1082 100644 --- a/drivers/rtc/rtc-lp8788.c +++ b/drivers/rtc/rtc-lp8788.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TI LP8788 MFD - rtc driver | 3 | * TI LP8788 MFD - rtc driver |
3 | * | 4 | * |
4 | * Copyright 2012 Texas Instruments | 5 | * Copyright 2012 Texas Instruments |
5 | * | 6 | * |
6 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/err.h> | 10 | #include <linux/err.h> |
diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index dd5a8991f75b..9fdc284c943b 100644 --- a/drivers/rtc/rtc-m41t80.c +++ b/drivers/rtc/rtc-m41t80.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * I2C client/driver for the ST M41T80 family of i2c rtc chips. | 3 | * I2C client/driver for the ST M41T80 family of i2c rtc chips. |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * Based on m41t00.c by Mark A. Greer <mgreer@mvista.com> | 7 | * Based on m41t00.c by Mark A. Greer <mgreer@mvista.com> |
7 | * | 8 | * |
8 | * 2006 (c) mycable GmbH | 9 | * 2006 (c) mycable GmbH |
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 version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | */ | 10 | */ |
15 | 11 | ||
16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/rtc/rtc-m41t93.c b/drivers/rtc/rtc-m41t93.c index 4a08a9dabc82..9444cb5f5190 100644 --- a/drivers/rtc/rtc-m41t93.c +++ b/drivers/rtc/rtc-m41t93.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * | 3 | * |
3 | * Driver for ST M41T93 SPI RTC | 4 | * Driver for ST M41T93 SPI RTC |
4 | * | 5 | * |
5 | * (c) 2010 Nikolaus Voss, Weinmann Medical GmbH | 6 | * (c) 2010 Nikolaus Voss, Weinmann Medical GmbH |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/bcd.h> | 9 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-m41t94.c b/drivers/rtc/rtc-m41t94.c index bab82b4be356..6803b0273302 100644 --- a/drivers/rtc/rtc-m41t94.c +++ b/drivers/rtc/rtc-m41t94.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for ST M41T94 SPI RTC | 3 | * Driver for ST M41T94 SPI RTC |
3 | * | 4 | * |
4 | * Copyright (C) 2008 Kim B. Heino | 5 | * Copyright (C) 2008 Kim B. Heino |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index 3c8ad1cdfd7c..67e218758a8b 100644 --- a/drivers/rtc/rtc-m48t59.c +++ b/drivers/rtc/rtc-m48t59.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ST M48T59 RTC driver | 3 | * ST M48T59 RTC driver |
3 | * | 4 | * |
4 | * Copyright (c) 2007 Wind River Systems, Inc. | 5 | * Copyright (c) 2007 Wind River Systems, Inc. |
5 | * | 6 | * |
6 | * Author: Mark Zhan <rongkai.zhan@windriver.com> | 7 | * Author: Mark Zhan <rongkai.zhan@windriver.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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c index a9533535c3b7..59b54ed9b841 100644 --- a/drivers/rtc/rtc-m48t86.c +++ b/drivers/rtc/rtc-m48t86.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ST M48T86 / Dallas DS12887 RTC driver | 3 | * ST M48T86 / Dallas DS12887 RTC driver |
3 | * Copyright (c) 2006 Tower Technologies | 4 | * Copyright (c) 2006 Tower Technologies |
4 | * | 5 | * |
5 | * Author: Alessandro Zummo <a.zummo@towertech.it> | 6 | * Author: Alessandro Zummo <a.zummo@towertech.it> |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * This drivers only supports the clock running in BCD and 24H mode. | 8 | * This drivers only supports the clock running in BCD and 24H mode. |
12 | * If it will be ever adapted to binary and 12H mode, care must be taken | 9 | * If it will be ever adapted to binary and 12H mode, care must be taken |
13 | * to not introduce bugs. | 10 | * to not introduce bugs. |
diff --git a/drivers/rtc/rtc-max6902.c b/drivers/rtc/rtc-max6902.c index 745827463367..daaeb6fb6c2d 100644 --- a/drivers/rtc/rtc-max6902.c +++ b/drivers/rtc/rtc-max6902.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* drivers/rtc/rtc-max6902.c | 2 | /* drivers/rtc/rtc-max6902.c |
2 | * | 3 | * |
3 | * Copyright (C) 2006 8D Technologies inc. | 4 | * Copyright (C) 2006 8D Technologies inc. |
4 | * Copyright (C) 2004 Compulab Ltd. | 5 | * Copyright (C) 2004 Compulab Ltd. |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Driver for MAX6902 spi RTC | 7 | * Driver for MAX6902 spi RTC |
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-max6916.c b/drivers/rtc/rtc-max6916.c index 9d4b407cc4b8..e72e768ab8ff 100644 --- a/drivers/rtc/rtc-max6916.c +++ b/drivers/rtc/rtc-max6916.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* rtc-max6916.c | 2 | /* rtc-max6916.c |
2 | * | 3 | * |
3 | * Driver for MAXIM max6916 Low Current, SPI Compatible | 4 | * Driver for MAXIM max6916 Low Current, SPI Compatible |
4 | * Real Time Clock | 5 | * Real Time Clock |
5 | * | 6 | * |
6 | * Author : Venkat Prashanth B U <venkat.prashanth2498@gmail.com> | 7 | * Author : Venkat Prashanth B U <venkat.prashanth2498@gmail.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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/init.h> | 10 | #include <linux/init.h> |
diff --git a/drivers/rtc/rtc-max8907.c b/drivers/rtc/rtc-max8907.c index 19c29b72598d..db3495d10274 100644 --- a/drivers/rtc/rtc-max8907.c +++ b/drivers/rtc/rtc-max8907.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * RTC driver for Maxim MAX8907 | 3 | * RTC driver for Maxim MAX8907 |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on drivers/rtc/rtc-max8925.c, | 7 | * Based on drivers/rtc/rtc-max8925.c, |
7 | * Copyright (C) 2009-2010 Marvell International Ltd. | 8 | * Copyright (C) 2009-2010 Marvell International Ltd. |
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 version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/bcd.h> | 11 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-max8925.c b/drivers/rtc/rtc-max8925.c index 67d6fc2d23e6..64bb8ac6ef62 100644 --- a/drivers/rtc/rtc-max8925.c +++ b/drivers/rtc/rtc-max8925.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * RTC driver for Maxim MAX8925 | 3 | * RTC driver for Maxim MAX8925 |
3 | * | 4 | * |
4 | * Copyright (C) 2009-2010 Marvell International Ltd. | 5 | * Copyright (C) 2009-2010 Marvell International Ltd. |
5 | * Haojian Zhuang <haojian.zhuang@marvell.com> | 6 | * Haojian Zhuang <haojian.zhuang@marvell.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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index f22a945a3794..1660d5e79582 100644 --- a/drivers/rtc/rtc-mcp795.c +++ b/drivers/rtc/rtc-mcp795.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * SPI Driver for Microchip MCP795 RTC | 3 | * SPI Driver for Microchip MCP795 RTC |
3 | * | 4 | * |
@@ -7,11 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Device datasheet: | 9 | * Device datasheet: |
9 | * http://ww1.microchip.com/downloads/en/DeviceDoc/22280A.pdf | 10 | * http://ww1.microchip.com/downloads/en/DeviceDoc/22280A.pdf |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | * | ||
15 | */ | 11 | */ |
16 | 12 | ||
17 | #include <linux/module.h> | 13 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index dd0364293bc0..15a9d0278778 100644 --- a/drivers/rtc/rtc-mpc5121.c +++ b/drivers/rtc/rtc-mpc5121.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Real-time clock driver for MPC5121 | 3 | * Real-time clock driver for MPC5121 |
3 | * | 4 | * |
4 | * Copyright 2007, Domen Puncer <domen.puncer@telargo.com> | 5 | * Copyright 2007, Domen Puncer <domen.puncer@telargo.com> |
5 | * Copyright 2008, Freescale Semiconductor, Inc. All rights reserved. | 6 | * Copyright 2008, Freescale Semiconductor, Inc. All rights reserved. |
6 | * Copyright 2011, Dmitry Eremin-Solenikov | 7 | * Copyright 2011, Dmitry Eremin-Solenikov |
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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/init.h> | 10 | #include <linux/init.h> |
diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c index 39da8b214275..f431263e2d39 100644 --- a/drivers/rtc/rtc-pcf2123.c +++ b/drivers/rtc/rtc-pcf2123.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An SPI driver for the Philips PCF2123 RTC | 3 | * An SPI driver for the Philips PCF2123 RTC |
3 | * Copyright 2009 Cyber Switching, Inc. | 4 | * Copyright 2009 Cyber Switching, Inc. |
@@ -10,10 +11,6 @@ | |||
10 | * Thanks to Christian Pellegrin <chripell@fsfe.org> for | 11 | * Thanks to Christian Pellegrin <chripell@fsfe.org> for |
11 | * the sysfs contributions to this driver. | 12 | * the sysfs contributions to this driver. |
12 | * | 13 | * |
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | * | ||
17 | * Please note that the CS is active high, so platform data | 14 | * Please note that the CS is active high, so platform data |
18 | * should look something like: | 15 | * should look something like: |
19 | * | 16 | * |
@@ -29,7 +26,6 @@ | |||
29 | * }, | 26 | * }, |
30 | * ... | 27 | * ... |
31 | *}; | 28 | *}; |
32 | * | ||
33 | */ | 29 | */ |
34 | 30 | ||
35 | #include <linux/bcd.h> | 31 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c index 7cb786d76e3c..8632f58fed43 100644 --- a/drivers/rtc/rtc-pcf2127.c +++ b/drivers/rtc/rtc-pcf2127.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An I2C and SPI driver for the NXP PCF2127/29 RTC | 3 | * An I2C and SPI driver for the NXP PCF2127/29 RTC |
3 | * Copyright 2013 Til-Technologies | 4 | * Copyright 2013 Til-Technologies |
@@ -7,10 +8,6 @@ | |||
7 | * based on the other drivers in this same directory. | 8 | * based on the other drivers in this same directory. |
8 | * | 9 | * |
9 | * Datasheet: http://cache.nxp.com/documents/data_sheet/PCF2127.pdf | 10 | * Datasheet: http://cache.nxp.com/documents/data_sheet/PCF2127.pdf |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/i2c.h> | 13 | #include <linux/i2c.h> |
diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523.c index b5c61a70b5df..2f435e533b10 100644 --- a/drivers/rtc/rtc-pcf8523.c +++ b/drivers/rtc/rtc-pcf8523.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2012 Avionic Design GmbH | 3 | * Copyright (C) 2012 Avionic Design GmbH |
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 version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/bcd.h> | 6 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 3efc86c25d27..c569dfe8c2ae 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An I2C driver for the Philips PCF8563 RTC | 3 | * An I2C driver for the Philips PCF8563 RTC |
3 | * Copyright 2005-06 Tower Technologies | 4 | * Copyright 2005-06 Tower Technologies |
@@ -8,10 +9,6 @@ | |||
8 | * based on the other drivers in this same directory. | 9 | * based on the other drivers in this same directory. |
9 | * | 10 | * |
10 | * http://www.semiconductors.philips.com/acrobat/datasheets/PCF8563-04.pdf | 11 | * http://www.semiconductors.philips.com/acrobat/datasheets/PCF8563-04.pdf |
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 version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | */ | 12 | */ |
16 | 13 | ||
17 | #include <linux/clk-provider.h> | 14 | #include <linux/clk-provider.h> |
diff --git a/drivers/rtc/rtc-pcf8583.c b/drivers/rtc/rtc-pcf8583.c index 7ca9e8871d77..c80ca20e5d8d 100644 --- a/drivers/rtc/rtc-pcf8583.c +++ b/drivers/rtc/rtc-pcf8583.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/rtc/rtc-pcf8583.c | 3 | * drivers/rtc/rtc-pcf8583.c |
3 | * | 4 | * |
4 | * Copyright (C) 2000 Russell King | 5 | * Copyright (C) 2000 Russell King |
5 | * Copyright (C) 2008 Wolfram Sang & Juergen Beisert, Pengutronix | 6 | * Copyright (C) 2008 Wolfram Sang & Juergen Beisert, Pengutronix |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Driver for PCF8583 RTC & RAM chip | 8 | * Driver for PCF8583 RTC & RAM chip |
12 | * | 9 | * |
13 | * Converted to the generic RTC susbsystem by G. Liakhovetski (2006) | 10 | * Converted to the generic RTC susbsystem by G. Liakhovetski (2006) |
diff --git a/drivers/rtc/rtc-pl030.c b/drivers/rtc/rtc-pl030.c index 343bb6ed1783..d4a5f8afafbc 100644 --- a/drivers/rtc/rtc-pl030.c +++ b/drivers/rtc/rtc-pl030.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/drivers/rtc/rtc-pl030.c | 3 | * linux/drivers/rtc/rtc-pl030.c |
3 | * | 4 | * |
4 | * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. | 5 | * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
11 | #include <linux/rtc.h> | 8 | #include <linux/rtc.h> |
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c index f77ef282f013..63b9e73fb97d 100644 --- a/drivers/rtc/rtc-puv3.c +++ b/drivers/rtc/rtc-puv3.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * RTC driver code specific to PKUnity SoC and UniCore ISA | 3 | * RTC driver code specific to PKUnity SoC and UniCore ISA |
3 | * | 4 | * |
4 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> | 5 | * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> |
5 | * Copyright (C) 2001-2010 Guan Xuetao | 6 | * Copyright (C) 2001-2010 Guan Xuetao |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-r9701.c b/drivers/rtc/rtc-r9701.c index a39ccd1cf6e8..84f0d25259ae 100644 --- a/drivers/rtc/rtc-r9701.c +++ b/drivers/rtc/rtc-r9701.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Epson RTC-9701JE | 3 | * Driver for Epson RTC-9701JE |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Copyright (C) 2006 8D Technologies inc. | 9 | * Copyright (C) 2006 8D Technologies inc. |
9 | * Copyright (C) 2004 Compulab Ltd. | 10 | * Copyright (C) 2004 Compulab Ltd. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/module.h> | 13 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c index 6582be707bd0..47c13678449e 100644 --- a/drivers/rtc/rtc-rs5c348.c +++ b/drivers/rtc/rtc-rs5c348.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * A SPI driver for the Ricoh RS5C348 RTC | 3 | * A SPI driver for the Ricoh RS5C348 RTC |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 5 | * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * The board specific init code should provide characteristics of this | 7 | * The board specific init code should provide characteristics of this |
11 | * device: | 8 | * device: |
12 | * Mode 1 (High-Active, Shift-Then-Sample), High Avtive CS | 9 | * Mode 1 (High-Active, Shift-Then-Sample), High Avtive CS |
diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c index 66a473a3c3fe..3bd6eaa0dcf6 100644 --- a/drivers/rtc/rtc-rs5c372.c +++ b/drivers/rtc/rtc-rs5c372.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An I2C driver for Ricoh RS5C372, R2025S/D and RV5C38[67] RTCs | 3 | * An I2C driver for Ricoh RS5C372, R2025S/D and RV5C38[67] RTCs |
3 | * | 4 | * |
4 | * Copyright (C) 2005 Pavel Mironchik <pmironchik@optifacio.net> | 5 | * Copyright (C) 2005 Pavel Mironchik <pmironchik@optifacio.net> |
5 | * Copyright (C) 2006 Tower Technologies | 6 | * Copyright (C) 2006 Tower Technologies |
6 | * Copyright (C) 2008 Paul Mundt | 7 | * Copyright (C) 2008 Paul Mundt |
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 version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/i2c.h> | 10 | #include <linux/i2c.h> |
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index 3d6174eb32f6..4a0e8ec015cc 100644 --- a/drivers/rtc/rtc-rv3029c2.c +++ b/drivers/rtc/rtc-rv3029c2.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Micro Crystal RV-3029 / RV-3049 rtc class driver | 3 | * Micro Crystal RV-3029 / RV-3049 rtc class driver |
3 | * | 4 | * |
@@ -5,11 +6,6 @@ | |||
5 | * Michael Buesch <m@bues.ch> | 6 | * Michael Buesch <m@bues.ch> |
6 | * | 7 | * |
7 | * based on previously existing rtc class drivers | 8 | * based on previously existing rtc class drivers |
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 version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | */ | 9 | */ |
14 | 10 | ||
15 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-rx4581.c b/drivers/rtc/rtc-rx4581.c index c59a218bdd87..c092e0452347 100644 --- a/drivers/rtc/rtc-rx4581.c +++ b/drivers/rtc/rtc-rx4581.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* drivers/rtc/rtc-rx4581.c | 2 | /* drivers/rtc/rtc-rx4581.c |
2 | * | 3 | * |
3 | * written by Torben Hohn <torbenh@linutronix.de> | 4 | * written by Torben Hohn <torbenh@linutronix.de> |
@@ -8,10 +9,6 @@ | |||
8 | * Copyright (C) 2006 8D Technologies inc. | 9 | * Copyright (C) 2006 8D Technologies inc. |
9 | * Copyright (C) 2004 Compulab Ltd. | 10 | * Copyright (C) 2004 Compulab Ltd. |
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 version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | * | ||
15 | * Driver for MAX6902 spi RTC | 12 | * Driver for MAX6902 spi RTC |
16 | * | 13 | * |
17 | * and based on: | 14 | * and based on: |
@@ -22,13 +19,8 @@ | |||
22 | * Author: Martyn Welch <martyn.welch@ge.com> | 19 | * Author: Martyn Welch <martyn.welch@ge.com> |
23 | * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. | 20 | * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. |
24 | * | 21 | * |
25 | * This program is free software; you can redistribute it and/or modify | ||
26 | * it under the terms of the GNU General Public License version 2 as | ||
27 | * published by the Free Software Foundation. | ||
28 | * | ||
29 | * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) | 22 | * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) |
30 | * Copyright 2005-06 Tower Technologies | 23 | * Copyright 2005-06 Tower Technologies |
31 | * | ||
32 | */ | 24 | */ |
33 | 25 | ||
34 | #include <linux/module.h> | 26 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c index 7ddc22eb5b0f..b15ad8e10938 100644 --- a/drivers/rtc/rtc-rx8010.c +++ b/drivers/rtc/rtc-rx8010.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for the Epson RTC module RX-8010 SJ | 3 | * Driver for the Epson RTC module RX-8010 SJ |
3 | * | 4 | * |
4 | * Copyright(C) Timesys Corporation 2015 | 5 | * Copyright(C) Timesys Corporation 2015 |
5 | * Copyright(C) General Electric Company 2015 | 6 | * Copyright(C) General Electric Company 2015 |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | */ | 7 | */ |
12 | 8 | ||
13 | #include <linux/bcd.h> | 9 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index fddc996cb38d..cb082ad19471 100644 --- a/drivers/rtc/rtc-rx8025.c +++ b/drivers/rtc/rtc-rx8025.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Epson's RTC module RX-8025 SA/NB | 3 | * Driver for Epson's RTC module RX-8025 SA/NB |
3 | * | 4 | * |
@@ -13,10 +14,6 @@ | |||
13 | * Code cleanup by Sergei Poselenov, <sposelenov@emcraft.com> | 14 | * Code cleanup by Sergei Poselenov, <sposelenov@emcraft.com> |
14 | * Converted to new style by Wolfgang Grandegger <wg@grandegger.com> | 15 | * Converted to new style by Wolfgang Grandegger <wg@grandegger.com> |
15 | * Alarm and periodic interrupt added by Dmitry Rakhchev <rda@emcraft.com> | 16 | * Alarm and periodic interrupt added by Dmitry Rakhchev <rda@emcraft.com> |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or | ||
18 | * modify it under the terms of the GNU General Public License | ||
19 | * version 2 as published by the Free Software Foundation. | ||
20 | */ | 17 | */ |
21 | #include <linux/bcd.h> | 18 | #include <linux/bcd.h> |
22 | #include <linux/bitops.h> | 19 | #include <linux/bitops.h> |
diff --git a/drivers/rtc/rtc-rx8581.c b/drivers/rtc/rtc-rx8581.c index 776e3a2b89e8..490f70f57636 100644 --- a/drivers/rtc/rtc-rx8581.c +++ b/drivers/rtc/rtc-rx8581.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An I2C driver for the Epson RX8581 RTC | 3 | * An I2C driver for the Epson RX8581 RTC |
3 | * | 4 | * |
4 | * Author: Martyn Welch <martyn.welch@ge.com> | 5 | * Author: Martyn Welch <martyn.welch@ge.com> |
5 | * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. | 6 | * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. |
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 version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) | 8 | * Based on: rtc-pcf8563.c (An I2C driver for the Philips PCF8563 RTC) |
12 | * Copyright 2005-06 Tower Technologies | 9 | * Copyright 2005-06 Tower Technologies |
13 | */ | 10 | */ |
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index e81a2b22a5c3..74bf6473a05d 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* drivers/rtc/rtc-s3c.c | 2 | /* drivers/rtc/rtc-s3c.c |
2 | * | 3 | * |
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 4 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
@@ -7,10 +8,6 @@ | |||
7 | * Ben Dooks, <ben@simtec.co.uk> | 8 | * Ben Dooks, <ben@simtec.co.uk> |
8 | * http://armlinux.simtec.co.uk/ | 9 | * http://armlinux.simtec.co.uk/ |
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 version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | * S3C2410/S3C2440/S3C24XX Internal RTC Driver | 11 | * S3C2410/S3C2440/S3C24XX Internal RTC Driver |
15 | */ | 12 | */ |
16 | 13 | ||
diff --git a/drivers/rtc/rtc-s3c.h b/drivers/rtc/rtc-s3c.h index 004b61a8343f..3552914aa611 100644 --- a/drivers/rtc/rtc-s3c.h +++ b/drivers/rtc/rtc-s3c.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk> | 3 | * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk> |
3 | * http://www.simtec.co.uk/products/SWLINUX/ | 4 | * http://www.simtec.co.uk/products/SWLINUX/ |
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 version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * S3C2410 Internal RTC register definition | 6 | * S3C2410 Internal RTC register definition |
10 | */ | 7 | */ |
11 | 8 | ||
diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index fccbecbb2c98..a833ebc4ecb9 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * A RTC driver for the Simtek STK17TA8 | 3 | * A RTC driver for the Simtek STK17TA8 |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on the DS1553 driver from | 7 | * Based on the DS1553 driver from |
7 | * Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 8 | * Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
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 version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/bcd.h> | 11 | #include <linux/bcd.h> |
diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index 1f3117b5a83c..63ffba21397b 100644 --- a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* drivers/rtc/rtc-v3020.c | 2 | /* drivers/rtc/rtc-v3020.c |
2 | * | 3 | * |
3 | * Copyright (C) 2006 8D Technologies inc. | 4 | * Copyright (C) 2006 8D Technologies inc. |
4 | * Copyright (C) 2004 Compulab Ltd. | 5 | * Copyright (C) 2004 Compulab Ltd. |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * Driver for the V3020 RTC | 7 | * Driver for the V3020 RTC |
11 | * | 8 | * |
12 | * Changelog: | 9 | * Changelog: |
@@ -17,7 +14,6 @@ | |||
17 | * | 14 | * |
18 | * ??-???-2004: Someone at Compulab | 15 | * ??-???-2004: Someone at Compulab |
19 | * - Initial driver creation. | 16 | * - Initial driver creation. |
20 | * | ||
21 | */ | 17 | */ |
22 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
23 | #include <linux/module.h> | 19 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index ad2ae2f0536e..d1d5a44d9122 100644 --- a/drivers/rtc/rtc-x1205.c +++ b/drivers/rtc/rtc-x1205.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * An i2c driver for the Xicor/Intersil X1205 RTC | 3 | * An i2c driver for the Xicor/Intersil X1205 RTC |
3 | * Copyright 2004 Karen Spearel | 4 | * Copyright 2004 Karen Spearel |
@@ -11,10 +12,6 @@ | |||
11 | * | 12 | * |
12 | * Information and datasheet: | 13 | * Information and datasheet: |
13 | * http://www.intersil.com/cda/deviceinfo/0,1477,X1205,00.html | 14 | * http://www.intersil.com/cda/deviceinfo/0,1477,X1205,00.html |
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License version 2 as | ||
17 | * published by the Free Software Foundation. | ||
18 | */ | 15 | */ |
19 | 16 | ||
20 | #include <linux/i2c.h> | 17 | #include <linux/i2c.h> |