linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: linux-rtc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	Alexandre Belloni <alexandre.belloni@bootlin.com>
Subject: [PATCH] rtc: rename core files
Date: Mon, 31 Dec 2018 18:15:42 +0100	[thread overview]
Message-ID: <20181231171542.15111-1-alexandre.belloni@bootlin.com> (raw)

Rename core files so there is a clearer separation between the RTC core and
the RTC drivers.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/Makefile                 | 8 ++++----
 drivers/rtc/{rtc-dev.c => dev.c}     | 0
 drivers/rtc/{rtc-lib.c => lib.c}     | 0
 drivers/rtc/{rtc-proc.c => proc.c}   | 0
 drivers/rtc/{rtc-sysfs.c => sysfs.c} | 0
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename drivers/rtc/{rtc-dev.c => dev.c} (100%)
 rename drivers/rtc/{rtc-lib.c => lib.c} (100%)
 rename drivers/rtc/{rtc-proc.c => proc.c} (100%)
 rename drivers/rtc/{rtc-sysfs.c => sysfs.c} (100%)

diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index f97c05ef99db..df022d820bee 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -5,7 +5,7 @@
 
 ccflags-$(CONFIG_RTC_DEBUG)	:= -DDEBUG
 
-obj-$(CONFIG_RTC_LIB)		+= rtc-lib.o
+obj-$(CONFIG_RTC_LIB)		+= lib.o
 obj-$(CONFIG_RTC_HCTOSYS)	+= hctosys.o
 obj-$(CONFIG_RTC_SYSTOHC)	+= systohc.o
 obj-$(CONFIG_RTC_CLASS)		+= rtc-core.o
@@ -17,9 +17,9 @@ rtc-core-y			+= rtc-efi-platform.o
 endif
 
 rtc-core-$(CONFIG_RTC_NVMEM)		+= nvmem.o
-rtc-core-$(CONFIG_RTC_INTF_DEV)		+= rtc-dev.o
-rtc-core-$(CONFIG_RTC_INTF_PROC)	+= rtc-proc.o
-rtc-core-$(CONFIG_RTC_INTF_SYSFS)	+= rtc-sysfs.o
+rtc-core-$(CONFIG_RTC_INTF_DEV)		+= dev.o
+rtc-core-$(CONFIG_RTC_INTF_PROC)	+= proc.o
+rtc-core-$(CONFIG_RTC_INTF_SYSFS)	+= sysfs.o
 
 # Keep the list ordered.
 
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/dev.c
similarity index 100%
rename from drivers/rtc/rtc-dev.c
rename to drivers/rtc/dev.c
diff --git a/drivers/rtc/rtc-lib.c b/drivers/rtc/lib.c
similarity index 100%
rename from drivers/rtc/rtc-lib.c
rename to drivers/rtc/lib.c
diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/proc.c
similarity index 100%
rename from drivers/rtc/rtc-proc.c
rename to drivers/rtc/proc.c
diff --git a/drivers/rtc/rtc-sysfs.c b/drivers/rtc/sysfs.c
similarity index 100%
rename from drivers/rtc/rtc-sysfs.c
rename to drivers/rtc/sysfs.c
-- 
2.20.1


                 reply	other threads:[~2018-12-31 17:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20181231171542.15111-1-alexandre.belloni@bootlin.com \
    --to=alexandre.belloni@bootlin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    /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).