Linux-RTC Archive on lore.kernel.org
 help / Atom feed
* [PATCH] rtc: rename core files
@ 2018-12-31 17:15 Alexandre Belloni
  0 siblings, 0 replies; 1+ messages in thread
From: Alexandre Belloni @ 2018-12-31 17:15 UTC (permalink / raw)
  To: linux-rtc; +Cc: linux-kernel, Alexandre Belloni

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


^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31 17:15 [PATCH] rtc: rename core files Alexandre Belloni

Linux-RTC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rtc/0 linux-rtc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rtc linux-rtc/ https://lore.kernel.org/linux-rtc \
		linux-rtc@vger.kernel.org linux-rtc@archiver.kernel.org
	public-inbox-index linux-rtc


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rtc


AGPL code for this site: git clone https://public-inbox.org/ public-inbox