diff options
Diffstat (limited to 'drivers/rtc')
| -rw-r--r-- | drivers/rtc/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-bq4802.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-ds1216.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-generic.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-mc146818-lib.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-msm6242.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-opal.c | 14 | ||||
| -rw-r--r-- | drivers/rtc/rtc-r7301.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-rp5c01.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rtc-sirfsoc.c | 3 | ||||
| -rw-r--r-- | drivers/rtc/rtc-st-lpc.c | 6 | ||||
| -rw-r--r-- | drivers/rtc/rtc-sunxi.c | 15 |
12 files changed, 12 insertions, 34 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 7b8e156dbf38..5c0790eed656 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # RTC class/drivers configuration | 3 | # RTC class/drivers configuration |
| 3 | # | 4 | # |
diff --git a/drivers/rtc/rtc-bq4802.c b/drivers/rtc/rtc-bq4802.c index 113493b52149..472e75668917 100644 --- a/drivers/rtc/rtc-bq4802.c +++ b/drivers/rtc/rtc-bq4802.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* rtc-bq4802.c: TI BQ4802 RTC driver. | 2 | /* rtc-bq4802.c: TI BQ4802 RTC driver. |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 David S. Miller <davem@davemloft.net> | 4 | * Copyright (C) 2008 David S. Miller <davem@davemloft.net> |
diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index 50fabe1cd286..b225bcfef50b 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Dallas DS1216 RTC driver | 3 | * Dallas DS1216 RTC driver |
| 3 | * | 4 | * |
diff --git a/drivers/rtc/rtc-generic.c b/drivers/rtc/rtc-generic.c index 1bf5d2347928..89ae78e93b83 100644 --- a/drivers/rtc/rtc-generic.c +++ b/drivers/rtc/rtc-generic.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* rtc-generic: RTC driver using the generic RTC abstraction | 2 | /* rtc-generic: RTC driver using the generic RTC abstraction |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 Kyle McMartin <kyle@mcmartin.ca> | 4 | * Copyright (C) 2008 Kyle McMartin <kyle@mcmartin.ca> |
diff --git a/drivers/rtc/rtc-mc146818-lib.c b/drivers/rtc/rtc-mc146818-lib.c index 18a6f15e313d..2ecd8752b088 100644 --- a/drivers/rtc/rtc-mc146818-lib.c +++ b/drivers/rtc/rtc-mc146818-lib.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/bcd.h> | 2 | #include <linux/bcd.h> |
| 2 | #include <linux/delay.h> | 3 | #include <linux/delay.h> |
| 3 | #include <linux/export.h> | 4 | #include <linux/export.h> |
diff --git a/drivers/rtc/rtc-msm6242.c b/drivers/rtc/rtc-msm6242.c index 0c72a2e8ec67..1c2d3c4a4963 100644 --- a/drivers/rtc/rtc-msm6242.c +++ b/drivers/rtc/rtc-msm6242.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Oki MSM6242 RTC Driver | 3 | * Oki MSM6242 RTC Driver |
| 3 | * | 4 | * |
diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c index 3dd9d266ce09..7b9f8bcf86fe 100644 --- a/drivers/rtc/rtc-opal.c +++ b/drivers/rtc/rtc-opal.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * IBM OPAL RTC driver | 3 | * IBM OPAL RTC driver |
| 3 | * Copyright (C) 2014 IBM | 4 | * Copyright (C) 2014 IBM |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. | ||
| 17 | */ | 5 | */ |
| 18 | 6 | ||
| 19 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/rtc/rtc-r7301.c b/drivers/rtc/rtc-r7301.c index 1943c8151152..2498278853af 100644 --- a/drivers/rtc/rtc-r7301.c +++ b/drivers/rtc/rtc-r7301.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * EPSON TOYOCOM RTC-7301SF/DG Driver | 3 | * EPSON TOYOCOM RTC-7301SF/DG Driver |
| 3 | * | 4 | * |
diff --git a/drivers/rtc/rtc-rp5c01.c b/drivers/rtc/rtc-rp5c01.c index f1c160fe7d37..8776eadbdd3a 100644 --- a/drivers/rtc/rtc-rp5c01.c +++ b/drivers/rtc/rtc-rp5c01.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Ricoh RP5C01 RTC Driver | 3 | * Ricoh RP5C01 RTC Driver |
| 3 | * | 4 | * |
diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c index 9ba28d1ebd87..c759c55359a1 100644 --- a/drivers/rtc/rtc-sirfsoc.c +++ b/drivers/rtc/rtc-sirfsoc.c | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * SiRFSoC Real Time Clock interface for Linux | 3 | * SiRFSoC Real Time Clock interface for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2013 Cambridge Silicon Radio Limited, a CSR plc group company. | 5 | * Copyright (c) 2013 Cambridge Silicon Radio Limited, a CSR plc group company. |
| 5 | * | ||
| 6 | * Licensed under GPLv2 or later. | ||
| 7 | */ | 6 | */ |
| 8 | 7 | ||
| 9 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c index bee75ca7ff79..5fe021821831 100644 --- a/drivers/rtc/rtc-st-lpc.c +++ b/drivers/rtc/rtc-st-lpc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer | 3 | * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer |
| 3 | * | 4 | * |
| @@ -7,11 +8,6 @@ | |||
| 7 | * Lee Jones <lee.jones@linaro.org> for STMicroelectronics | 8 | * Lee Jones <lee.jones@linaro.org> for STMicroelectronics |
| 8 | * | 9 | * |
| 9 | * Based on the original driver written by Stuart Menefy. | 10 | * Based on the original driver written by Stuart Menefy. |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or | ||
| 12 | * modify it under the terms of the GNU General Public Licence | ||
| 13 | * as published by the Free Software Foundation; either version | ||
| 14 | * 2 of the Licence, or (at your option) any later version. | ||
| 15 | */ | 11 | */ |
| 16 | 12 | ||
| 17 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
diff --git a/drivers/rtc/rtc-sunxi.c b/drivers/rtc/rtc-sunxi.c index 21865d3d8fe8..6eeabb81106f 100644 --- a/drivers/rtc/rtc-sunxi.c +++ b/drivers/rtc/rtc-sunxi.c | |||
| @@ -1,21 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * An RTC driver for Allwinner A10/A20 | 3 | * An RTC driver for Allwinner A10/A20 |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2013, Carlo Caione <carlo.caione@gmail.com> | 5 | * Copyright (c) 2013, Carlo Caione <carlo.caione@gmail.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 14 | * more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along | ||
| 17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 19 | */ | 6 | */ |
| 20 | 7 | ||
| 21 | #include <linux/delay.h> | 8 | #include <linux/delay.h> |
