Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1389679 > unrolled thread

[PATCH v3 00/16] genrtc removal

Started byArnd Bergmann <arnd@arndb.de>
First post2016-04-28 01:00 +0200
Last post2016-05-03 12:10 +0200
Articles 7 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 00/16] genrtc removal Arnd Bergmann <arnd@arndb.de> - 2016-04-28 01:00 +0200
    [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly Arnd Bergmann <arnd@arndb.de> - 2016-04-28 01:00 +0200
      Re: [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly Arnd Bergmann <arnd@arndb.de> - 2016-04-28 01:10 +0200
    Re: [PATCH v3 00/16] genrtc removal Geert Uytterhoeven <geert@linux-m68k.org> - 2016-04-28 09:50 +0200
      Re: [PATCH v3 00/16] genrtc removal Geert Uytterhoeven <geert@linux-m68k.org> - 2016-05-02 10:50 +0200
    Re: [PATCH v3 00/16] genrtc removal Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-05-03 09:30 +0200
      Re: [PATCH v3 00/16] genrtc removal Arnd Bergmann <arnd@arndb.de> - 2016-05-03 12:10 +0200

#1389679 — [PATCH v3 00/16] genrtc removal

FromArnd Bergmann <arnd@arndb.de>
Date2016-04-28 01:00 +0200
Subject[PATCH v3 00/16] genrtc removal
Message-ID<rsGhH-P8-3@gated-at.bofh.it>
I ended up stuffing the two patch series into one, as they are now
more dependent on one another. This now thoroughly removes the
genrtc driver including the asm/rtc.h headers it uses. For all
architectures that still have a meaningful asm/rtc.h, this goes
through two stages:

1) make the rtc-generic implementation independent of asm/rtc.h
2) remove the asm/rtc.h header and disallow the gen_rtc driver

As the last step, the driver itself gets removed.

	Arnd

 arch/alpha/include/asm/rtc.h          |   1 -
 arch/alpha/kernel/core_marvel.c       |   1 -
 arch/alpha/kernel/rtc.c               |   6 +-
 arch/frv/include/asm/mc146818rtc.h    |  16 -
 arch/h8300/include/asm/mc146818rtc.h  |   9 -
 arch/ia64/include/asm/mc146818rtc.h   |  10 -
 arch/m68k/amiga/config.c              |   1 -
 arch/m68k/apollo/config.c             |   1 -
 arch/m68k/bvme6000/config.c           |   1 -
 arch/m68k/hp300/config.c              |   2 +-
 arch/m68k/include/asm/rtc.h           |  79 -----
 arch/m68k/kernel/time.c               |  49 +++-
 arch/m68k/mac/config.c                |   3 +-
 arch/m68k/mac/misc.c                  |   1 -
 arch/m68k/mvme147/config.c            |   1 -
 arch/m68k/mvme16x/config.c            |   1 -
 arch/m68k/q40/config.c                |   2 +-
 arch/m68k/sun3/config.c               |   1 -
 arch/m68k/sun3/intersil.c             |   2 +-
 arch/m68k/sun3x/time.c                |   2 +-
 arch/mips/sni/time.c                  |   1 -
 arch/mn10300/include/asm/rtc.h        |   2 -
 arch/mn10300/kernel/rtc.c             |   2 +-
 arch/parisc/include/asm/mc146818rtc.h |   9 -
 arch/parisc/include/asm/rtc.h         | 131 ---------
 arch/parisc/kernel/time.c             |  36 ++-
 arch/powerpc/include/asm/rtc.h        |  78 -----
 arch/powerpc/kernel/time.c            |  29 +-
 arch/powerpc/platforms/Kconfig        |  11 +
 arch/powerpc/platforms/ps3/time.c     |   2 +-
 arch/sh/include/asm/mc146818rtc.h     |   7 -
 arch/sh/include/asm/rtc.h             |  11 -
 arch/sh/kernel/time.c                 |  32 +-
 arch/x86/include/asm/mc146818rtc.h    |   1 -
 arch/x86/include/asm/rtc.h            |   1 -
 arch/x86/kernel/hpet.c                |   3 +-
 arch/x86/kernel/rtc.c                 |   3 +-
 arch/x86/platform/efi/efi.c           |   1 -
 drivers/acpi/acpi_cmos_rtc.c          |   2 +-
 drivers/base/power/trace.c            |   6 +-
 drivers/char/Kconfig                  |  26 --
 drivers/char/Makefile                 |   1 -
 drivers/char/genrtc.c                 | 539 ----------------------------------
 drivers/rtc/rtc-cmos.c                |  12 +-
 drivers/rtc/rtc-generic.c             |  36 +--
 drivers/rtc/rtc-mrst.c                |   2 +-
 include/asm-generic/rtc.h             | 247 ----------------
 include/linux/mc146818rtc.h           | 194 ++++++++++++
 48 files changed, 358 insertions(+), 1256 deletions(-)

 [PATCH v3 01/16] rtc: cmos: remove empty asm/mc146818rtc.h files
 [PATCH v3 02/16] rtc: cmos: move mc146818rtc code out of
 [PATCH v3 03/16] char/genrtc: x86: remove remnants of asm/rtc.h
 [PATCH v3 04/16] rtc: sh: provide rtc_class_ops directly
 [PATCH v3 05/16] char/genrtc: remove alpha support
 [PATCH v3 06/16] char/genrtc: remove mn10300 support
 [PATCH v3 07/16] rtc: parisc: provide rtc_class_ops directly
 [PATCH v3 08/16] char/genrtc: remove parisc support
 [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly
 [PATCH v3 10/16] rtc: m68k: provide ioctl for q40
 [PATCH v3 11/16] char/genrtc: remove m68k support
 [PATCH v3 12/16] rtc: powerpc: provide rtc_class_ops directly
 [PATCH v3 13/16] char/genrtc: remove powerpc support
 [PATCH v3 14/16] rtc: generic: remove get_rtc_time/set_rtc_time
 [PATCH v3 15/16] char/genrtc: remove asm-generic/rtc.h from mips
 [PATCH v3 16/16] char/genrtc: remove the rest of the driver

[toc] | [next] | [standalone]


#1389680 — [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly

FromArnd Bergmann <arnd@arndb.de>
Date2016-04-28 01:00 +0200
Subject[PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly
Message-ID<rsGB4-X9-15@gated-at.bofh.it>
In reply to#1389679
The rtc-generic driver provides an architecture specific
wrapper on top of the generic rtc_class_ops abstraction,
and m68k has another abstraction on top, which is a bit
silly.

This changes the m68k rtc-generic device to provide its
rtc_class_ops directly, to reduce the number of layers
by one.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/m68k/kernel/time.c   | 24 ++++++++++++++++++++++--
 drivers/rtc/rtc-generic.c |  2 +-
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c
index 3857737e3958..80e024a10115 100644
--- a/arch/m68k/kernel/time.c
+++ b/arch/m68k/kernel/time.c
@@ -86,7 +86,24 @@ void read_persistent_clock(struct timespec *ts)
 	}
 }
 
-#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET
+#if defined(CONFIG_ARCH_USES_GETTIMEOFFSET) && IS_ENABLED(CONFIG_RTC_DRV_GENERIC)
+static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
+{
+	mach_hwclk(0, tm);
+	return rtc_valid_tm(tm);
+}
+
+static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
+{
+	if (mach_hwclk(1, tm) < 0)
+		return -EOPNOTSUPP;
+	return 0;
+}
+
+static const struct rtc_class_ops generic_rtc_ops = {
+	.read_time = rtc_generic_get_time,
+	.set_time = rtc_generic_set_time,
+};
 
 static int __init rtc_init(void)
 {
@@ -95,7 +112,10 @@ static int __init rtc_init(void)
 	if (!mach_hwclk)
 		return -ENODEV;
 
-	pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0);
+	/* or just call devm_rtc_device_register instead? */
+	pdev = platform_device_register_data(NULL, "rtc-generic", -1,
+					     &generic_rtc_ops,
+					     sizeof(generic_rtc_ops));
 	return PTR_ERR_OR_ZERO(pdev);
 }
 
diff --git a/drivers/rtc/rtc-generic.c b/drivers/rtc/rtc-generic.c
index 92b5e02a3750..5c82bae73b9c 100644
--- a/drivers/rtc/rtc-generic.c
+++ b/drivers/rtc/rtc-generic.c
@@ -9,7 +9,7 @@
 #include <linux/platform_device.h>
 #include <linux/rtc.h>
 
-#if defined(CONFIG_M68K) || defined(CONFIG_PPC)
+#if defined(CONFIG_PPC)
 #include <asm/rtc.h>
 
 static int generic_get_time(struct device *dev, struct rtc_time *tm)
-- 
2.7.0

[toc] | [prev] | [next] | [standalone]


#1389683 — Re: [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly

FromArnd Bergmann <arnd@arndb.de>
Date2016-04-28 01:10 +0200
SubjectRe: [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly
Message-ID<rsGKJ-1jc-7@gated-at.bofh.it>
In reply to#1389680
On Thursday 28 April 2016 00:34:23 Arnd Bergmann wrote:
>                 return -ENODEV;
>  
> -       pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0);
> +       /* or just call devm_rtc_device_register instead? */

Oops, I was planning to remove the comment here.

I probably have to do a v4 anyway, fixed it up locally now.

	Arnd

[toc] | [prev] | [next] | [standalone]


#1389830

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2016-04-28 09:50 +0200
Message-ID<rsORX-7Mg-9@gated-at.bofh.it>
In reply to#1389679
On Thu, Apr 28, 2016 at 12:34 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> I ended up stuffing the two patch series into one, as they are now
> more dependent on one another. This now thoroughly removes the
> genrtc driver including the asm/rtc.h headers it uses. For all
> architectures that still have a meaningful asm/rtc.h, this goes
> through two stages:
>
> 1) make the rtc-generic implementation independent of asm/rtc.h
> 2) remove the asm/rtc.h header and disallow the gen_rtc driver
>
> As the last step, the driver itself gets removed.

In general, after fixing the minor nit:
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

For the m68k bits:
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

[toc] | [prev] | [next] | [standalone]


#1392069

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2016-05-02 10:50 +0200
Message-ID<ruhIe-dd-11@gated-at.bofh.it>
In reply to#1389830
Hi Arnd,

On Thu, Apr 28, 2016 at 9:48 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Thu, Apr 28, 2016 at 12:34 AM, Arnd Bergmann <arnd@arndb.de> wrote:
>> I ended up stuffing the two patch series into one, as they are now
>> more dependent on one another. This now thoroughly removes the
>> genrtc driver including the asm/rtc.h headers it uses. For all
>> architectures that still have a meaningful asm/rtc.h, this goes
>> through two stages:
>>
>> 1) make the rtc-generic implementation independent of asm/rtc.h
>> 2) remove the asm/rtc.h header and disallow the gen_rtc driver
>>
>> As the last step, the driver itself gets removed.
>
> In general, after fixing the minor nit:
> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
>
> For the m68k bits:
> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>

More build coverage uncovered two build failures on m68k due to "[PATCH v3
02/16] rtc: cmos: move mc146818rtc code out of asm-generic/rtc.h":

bvme6000_defconfig:

    In file included from arch/m68k/bvme6000/rtc.c:19:
    include/linux/mc146818rtc.h: In function ‘mc146818_is_updating’:
    include/linux/mc146818rtc.h:138: error: implicit declaration of
function ‘CMOS_READ’
    include/linux/mc146818rtc.h: In function ‘mc146818_get_time’:
    include/linux/mc146818rtc.h:189: error: ‘RTC_ALWAYS_BCD’
undeclared (first use in this function)
    include/linux/mc146818rtc.h:189: error: (Each undeclared
identifier is reported only once
    include/linux/mc146818rtc.h:189: error: for each function it appears in.)
    include/linux/mc146818rtc.h: In function ‘mc146818_set_time’:
    include/linux/mc146818rtc.h:279: error: ‘RTC_ALWAYS_BCD’
undeclared (first use in this function)
    include/linux/mc146818rtc.h:290: error: implicit declaration of
function ‘CMOS_WRITE’

mvme16x_defconfig:

    In file included from arch/m68k/mvme16x/rtc.c:18:
    include/linux/mc146818rtc.h: In function ‘mc146818_is_updating’:
    include/linux/mc146818rtc.h:138: error: implicit declaration of
function ‘CMOS_READ’
    include/linux/mc146818rtc.h: In function ‘mc146818_get_time’:
    include/linux/mc146818rtc.h:189: error: ‘RTC_ALWAYS_BCD’
undeclared (first use in this function)
    include/linux/mc146818rtc.h:189: error: (Each undeclared
identifier is reported only once
    include/linux/mc146818rtc.h:189: error: for each function it appears in.)
    include/linux/mc146818rtc.h: In function ‘mc146818_set_time’:
    include/linux/mc146818rtc.h:279: error: ‘RTC_ALWAYS_BCD’
undeclared (first use in this function)
    include/linux/mc146818rtc.h:290: error: implicit declaration of
function ‘CMOS_WRITE’

These do not show up with a multi-platform config including Atari
support, as arch/m68k/include/asm/mc146818rtc.h provides a definition of
CMOS_READ() if CONFIG_ATARI=y.

Fortunately the fixes are simple: replace <linux/mc146818rtc.h> by
<linux/rtc.h>. Will send patches to fix...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

[toc] | [prev] | [next] | [standalone]


#1393106

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2016-05-03 09:30 +0200
Message-ID<ruCWm-3Cj-11@gated-at.bofh.it>
In reply to#1389679
Hi Arnd,

I see you didn't copy Greg on that series (that may explain his
confusion on the previous patch), do you expect me to take it
through the RTC tree? That is fine but I'd like some acks from him.

On 28/04/2016 at 00:34:14 +0200, Arnd Bergmann wrote :
> I ended up stuffing the two patch series into one, as they are now
> more dependent on one another. This now thoroughly removes the
> genrtc driver including the asm/rtc.h headers it uses. For all
> architectures that still have a meaningful asm/rtc.h, this goes
> through two stages:
> 
> 1) make the rtc-generic implementation independent of asm/rtc.h
> 2) remove the asm/rtc.h header and disallow the gen_rtc driver
> 
> As the last step, the driver itself gets removed.
> 
> 	Arnd
> 
>  arch/alpha/include/asm/rtc.h          |   1 -
>  arch/alpha/kernel/core_marvel.c       |   1 -
>  arch/alpha/kernel/rtc.c               |   6 +-
>  arch/frv/include/asm/mc146818rtc.h    |  16 -
>  arch/h8300/include/asm/mc146818rtc.h  |   9 -
>  arch/ia64/include/asm/mc146818rtc.h   |  10 -
>  arch/m68k/amiga/config.c              |   1 -
>  arch/m68k/apollo/config.c             |   1 -
>  arch/m68k/bvme6000/config.c           |   1 -
>  arch/m68k/hp300/config.c              |   2 +-
>  arch/m68k/include/asm/rtc.h           |  79 -----
>  arch/m68k/kernel/time.c               |  49 +++-
>  arch/m68k/mac/config.c                |   3 +-
>  arch/m68k/mac/misc.c                  |   1 -
>  arch/m68k/mvme147/config.c            |   1 -
>  arch/m68k/mvme16x/config.c            |   1 -
>  arch/m68k/q40/config.c                |   2 +-
>  arch/m68k/sun3/config.c               |   1 -
>  arch/m68k/sun3/intersil.c             |   2 +-
>  arch/m68k/sun3x/time.c                |   2 +-
>  arch/mips/sni/time.c                  |   1 -
>  arch/mn10300/include/asm/rtc.h        |   2 -
>  arch/mn10300/kernel/rtc.c             |   2 +-
>  arch/parisc/include/asm/mc146818rtc.h |   9 -
>  arch/parisc/include/asm/rtc.h         | 131 ---------
>  arch/parisc/kernel/time.c             |  36 ++-
>  arch/powerpc/include/asm/rtc.h        |  78 -----
>  arch/powerpc/kernel/time.c            |  29 +-
>  arch/powerpc/platforms/Kconfig        |  11 +
>  arch/powerpc/platforms/ps3/time.c     |   2 +-
>  arch/sh/include/asm/mc146818rtc.h     |   7 -
>  arch/sh/include/asm/rtc.h             |  11 -
>  arch/sh/kernel/time.c                 |  32 +-
>  arch/x86/include/asm/mc146818rtc.h    |   1 -
>  arch/x86/include/asm/rtc.h            |   1 -
>  arch/x86/kernel/hpet.c                |   3 +-
>  arch/x86/kernel/rtc.c                 |   3 +-
>  arch/x86/platform/efi/efi.c           |   1 -
>  drivers/acpi/acpi_cmos_rtc.c          |   2 +-
>  drivers/base/power/trace.c            |   6 +-
>  drivers/char/Kconfig                  |  26 --
>  drivers/char/Makefile                 |   1 -
>  drivers/char/genrtc.c                 | 539 ----------------------------------
>  drivers/rtc/rtc-cmos.c                |  12 +-
>  drivers/rtc/rtc-generic.c             |  36 +--
>  drivers/rtc/rtc-mrst.c                |   2 +-
>  include/asm-generic/rtc.h             | 247 ----------------
>  include/linux/mc146818rtc.h           | 194 ++++++++++++
>  48 files changed, 358 insertions(+), 1256 deletions(-)
> 
>  [PATCH v3 01/16] rtc: cmos: remove empty asm/mc146818rtc.h files
>  [PATCH v3 02/16] rtc: cmos: move mc146818rtc code out of
>  [PATCH v3 03/16] char/genrtc: x86: remove remnants of asm/rtc.h
>  [PATCH v3 04/16] rtc: sh: provide rtc_class_ops directly
>  [PATCH v3 05/16] char/genrtc: remove alpha support
>  [PATCH v3 06/16] char/genrtc: remove mn10300 support
>  [PATCH v3 07/16] rtc: parisc: provide rtc_class_ops directly
>  [PATCH v3 08/16] char/genrtc: remove parisc support
>  [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly
>  [PATCH v3 10/16] rtc: m68k: provide ioctl for q40
>  [PATCH v3 11/16] char/genrtc: remove m68k support
>  [PATCH v3 12/16] rtc: powerpc: provide rtc_class_ops directly
>  [PATCH v3 13/16] char/genrtc: remove powerpc support
>  [PATCH v3 14/16] rtc: generic: remove get_rtc_time/set_rtc_time
>  [PATCH v3 15/16] char/genrtc: remove asm-generic/rtc.h from mips
>  [PATCH v3 16/16] char/genrtc: remove the rest of the driver

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[toc] | [prev] | [next] | [standalone]


#1393274

FromArnd Bergmann <arnd@arndb.de>
Date2016-05-03 12:10 +0200
Message-ID<ruFrc-6jc-9@gated-at.bofh.it>
In reply to#1393106
On Tuesday 03 May 2016 09:24:18 Alexandre Belloni wrote:
> Hi Arnd,
> 
> I see you didn't copy Greg on that series (that may explain his
> confusion on the previous patch), do you expect me to take it
> through the RTC tree? That is fine but I'd like some acks from him.

Yes, that was a mistake. I dropped Greg from one Cc list in v2 when
I split up the RTC changes into the part that was for drivers/rtc
and the other one for Greg's char-misc tree. Then I reused the first
Cc list when I sent a combined series for v3 again. I'll fix that
when I post v4. There are only very small changes in there that
I still need to pick up, so hopefully that will be the last version.

It would be nice if you could take it through your tree then.

	Arnd

> On 28/04/2016 at 00:34:14 +0200, Arnd Bergmann wrote :
> > I ended up stuffing the two patch series into one, as they are now
> > more dependent on one another. This now thoroughly removes the
> > genrtc driver including the asm/rtc.h headers it uses. For all
> > architectures that still have a meaningful asm/rtc.h, this goes
> > through two stages:
> > 
> > 1) make the rtc-generic implementation independent of asm/rtc.h
> > 2) remove the asm/rtc.h header and disallow the gen_rtc driver
> > 
> > As the last step, the driver itself gets removed.
> > 
> > 	Arnd
> > 
> >  arch/alpha/include/asm/rtc.h          |   1 -
> >  arch/alpha/kernel/core_marvel.c       |   1 -
> >  arch/alpha/kernel/rtc.c               |   6 +-
> >  arch/frv/include/asm/mc146818rtc.h    |  16 -
> >  arch/h8300/include/asm/mc146818rtc.h  |   9 -
> >  arch/ia64/include/asm/mc146818rtc.h   |  10 -
> >  arch/m68k/amiga/config.c              |   1 -
> >  arch/m68k/apollo/config.c             |   1 -
> >  arch/m68k/bvme6000/config.c           |   1 -
> >  arch/m68k/hp300/config.c              |   2 +-
> >  arch/m68k/include/asm/rtc.h           |  79 -----
> >  arch/m68k/kernel/time.c               |  49 +++-
> >  arch/m68k/mac/config.c                |   3 +-
> >  arch/m68k/mac/misc.c                  |   1 -
> >  arch/m68k/mvme147/config.c            |   1 -
> >  arch/m68k/mvme16x/config.c            |   1 -
> >  arch/m68k/q40/config.c                |   2 +-
> >  arch/m68k/sun3/config.c               |   1 -
> >  arch/m68k/sun3/intersil.c             |   2 +-
> >  arch/m68k/sun3x/time.c                |   2 +-
> >  arch/mips/sni/time.c                  |   1 -
> >  arch/mn10300/include/asm/rtc.h        |   2 -
> >  arch/mn10300/kernel/rtc.c             |   2 +-
> >  arch/parisc/include/asm/mc146818rtc.h |   9 -
> >  arch/parisc/include/asm/rtc.h         | 131 ---------
> >  arch/parisc/kernel/time.c             |  36 ++-
> >  arch/powerpc/include/asm/rtc.h        |  78 -----
> >  arch/powerpc/kernel/time.c            |  29 +-
> >  arch/powerpc/platforms/Kconfig        |  11 +
> >  arch/powerpc/platforms/ps3/time.c     |   2 +-
> >  arch/sh/include/asm/mc146818rtc.h     |   7 -
> >  arch/sh/include/asm/rtc.h             |  11 -
> >  arch/sh/kernel/time.c                 |  32 +-
> >  arch/x86/include/asm/mc146818rtc.h    |   1 -
> >  arch/x86/include/asm/rtc.h            |   1 -
> >  arch/x86/kernel/hpet.c                |   3 +-
> >  arch/x86/kernel/rtc.c                 |   3 +-
> >  arch/x86/platform/efi/efi.c           |   1 -
> >  drivers/acpi/acpi_cmos_rtc.c          |   2 +-
> >  drivers/base/power/trace.c            |   6 +-
> >  drivers/char/Kconfig                  |  26 --
> >  drivers/char/Makefile                 |   1 -
> >  drivers/char/genrtc.c                 | 539 ----------------------------------
> >  drivers/rtc/rtc-cmos.c                |  12 +-
> >  drivers/rtc/rtc-generic.c             |  36 +--
> >  drivers/rtc/rtc-mrst.c                |   2 +-
> >  include/asm-generic/rtc.h             | 247 ----------------
> >  include/linux/mc146818rtc.h           | 194 ++++++++++++
> >  48 files changed, 358 insertions(+), 1256 deletions(-)
> > 
> >  [PATCH v3 01/16] rtc: cmos: remove empty asm/mc146818rtc.h files
> >  [PATCH v3 02/16] rtc: cmos: move mc146818rtc code out of
> >  [PATCH v3 03/16] char/genrtc: x86: remove remnants of asm/rtc.h
> >  [PATCH v3 04/16] rtc: sh: provide rtc_class_ops directly
> >  [PATCH v3 05/16] char/genrtc: remove alpha support
> >  [PATCH v3 06/16] char/genrtc: remove mn10300 support
> >  [PATCH v3 07/16] rtc: parisc: provide rtc_class_ops directly
> >  [PATCH v3 08/16] char/genrtc: remove parisc support
> >  [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly
> >  [PATCH v3 10/16] rtc: m68k: provide ioctl for q40
> >  [PATCH v3 11/16] char/genrtc: remove m68k support
> >  [PATCH v3 12/16] rtc: powerpc: provide rtc_class_ops directly
> >  [PATCH v3 13/16] char/genrtc: remove powerpc support
> >  [PATCH v3 14/16] rtc: generic: remove get_rtc_time/set_rtc_time
> >  [PATCH v3 15/16] char/genrtc: remove asm-generic/rtc.h from mips
> >  [PATCH v3 16/16] char/genrtc: remove the rest of the driver
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web