linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: geert@linux-m68k.org, deller@gmx.de, benh@kernel.crashing.org,
	mpe@ellerman.id.au, dalias@libc.org, dhowells@redhat.com,
	linux-alpha@vger.kernel.org, a.zummo@towertech.it,
	linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org,
	linux-m68k@lists.linux-m68k.org, rtc-linux@googlegroups.com,
	linux-arch@vger.kernel.org
Subject: [PATCH v3 00/16] genrtc removal
Date: Thu, 28 Apr 2016 00:34:14 +0200	[thread overview]
Message-ID: <1461796470-1291527-1-git-send-email-arnd@arndb.de> (raw)

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

             reply	other threads:[~2016-04-27 22:34 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 22:34 Arnd Bergmann [this message]
2016-04-27 22:34 ` [PATCH v3 00/16] genrtc removal Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 01/16] rtc: cmos: remove empty asm/mc146818rtc.h files Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 02/16] rtc: cmos: move mc146818rtc code out of asm-generic/rtc.h Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 03/16] char/genrtc: x86: remove remnants of asm/rtc.h Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 04/16] rtc: sh: provide rtc_class_ops directly Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 23:21   ` Rich Felker
2016-04-27 23:21     ` Rich Felker
2016-04-28  7:21     ` Geert Uytterhoeven
2016-04-28  7:21       ` Geert Uytterhoeven
2016-04-28  9:08     ` Arnd Bergmann
2016-04-28  9:08       ` Arnd Bergmann
2016-04-28  9:38       ` Arnd Bergmann
2016-04-28  9:38         ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 05/16] char/genrtc: remove alpha support Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 06/16] char/genrtc: remove mn10300 support Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 07/16] rtc: parisc: provide rtc_class_ops directly Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 08/16] char/genrtc: remove parisc support Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 09/16] rtc: m68k: provide rtc_class_ops directly Arnd Bergmann
2016-04-27 23:04   ` Arnd Bergmann
2016-04-27 23:04     ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 10/16] rtc: m68k: provide ioctl for q40 Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 11/16] char/genrtc: remove m68k support Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 12/16] rtc: powerpc: provide rtc_class_ops directly Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-05-03  4:05   ` Michael Ellerman
2016-05-03  4:05     ` Michael Ellerman
2016-05-03 10:29     ` Arnd Bergmann
2016-05-03 10:29       ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 13/16] char/genrtc: remove powerpc support Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-28  7:25   ` Geert Uytterhoeven
2016-04-28  7:25     ` Geert Uytterhoeven
2016-04-28  9:39     ` Arnd Bergmann
2016-04-28  9:39       ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 14/16] rtc: generic: remove get_rtc_time/set_rtc_time wrappers Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 15/16] char/genrtc: remove asm-generic/rtc.h from mips Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-27 22:34 ` [PATCH v3 16/16] char/genrtc: remove the rest of the driver Arnd Bergmann
2016-04-27 22:34   ` Arnd Bergmann
2016-04-28  7:48 ` [PATCH v3 00/16] genrtc removal Geert Uytterhoeven
2016-04-28  7:48   ` Geert Uytterhoeven
2016-05-02  8:45   ` Geert Uytterhoeven
2016-05-02  8:45     ` Geert Uytterhoeven
2016-05-03  7:24 ` Alexandre Belloni
2016-05-03  7:24   ` Alexandre Belloni
2016-05-03 10:05   ` Arnd Bergmann
2016-05-03 10:05     ` Arnd Bergmann
2016-05-29 23:37     ` Alexandre Belloni
2016-05-29 23:37       ` Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461796470-1291527-1-git-send-email-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=benh@kernel.crashing.org \
    --cc=dalias@libc.org \
    --cc=deller@gmx.de \
    --cc=dhowells@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=rtc-linux@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).