[PATCH 3/3] RTC: Ingenic: Replace jz47xx with XBurst.

From: Zhou Yanjie
Date: Mon Jan 28 2019 - 12:33:04 EST


Ingenic had changed their product code name.
Latest SoCs had divided to several series such as
T30/M200/X1000 and no longer called JZ47xx.

Signed-off-by: Zhou Yanjie <zhouyanjie@xxxxxxxx>
---
drivers/rtc/Kconfig | 4 ++--
drivers/rtc/rtc-jz4740.c | 15 +++------------
2 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 225b0b8..8b41853 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1576,10 +1576,10 @@ config RTC_DRV_MPC5121
will be called rtc-mpc5121.

config RTC_DRV_JZ4740
- tristate "Ingenic JZ4740 SoC"
+ tristate "Ingenic XBurst SoC"
depends on MIPS || COMPILE_TEST
help
- If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
+ If you say yes here you get support for the Ingenic XBurst SoCs RTC
controllers.

This driver can also be built as a module. If so, the module
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
index 0c7ae65..a262632 100644
--- a/drivers/rtc/rtc-jz4740.c
+++ b/drivers/rtc/rtc-jz4740.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2009-2010, Lars-Peter Clausen <lars@xxxxxxxxxx>
* Copyright (C) 2010, Paul Cercueil <paul@xxxxxxxxxxxxxxx>
- * JZ4740 SoC RTC driver
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Ingenic XBurst platform RTC support
*/

#include <linux/clk.h>
@@ -450,5 +441,5 @@ module_platform_driver(jz4740_rtc_driver);

MODULE_AUTHOR("Lars-Peter Clausen <lars@xxxxxxxxxx>");
MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("RTC driver for the JZ4740 SoC\n");
+MODULE_DESCRIPTION("RTC driver for Ingenic XBurst platform\n");
MODULE_ALIAS("platform:jz4740-rtc");
--
2.7.4