diff mbox

[01/10] ARM: clps711x: Remove the special name for the syscon driver

Message ID 1374172501-26796-2-git-send-email-shc_work@mail.ru (mailing list archive)
State New, archived
Headers show

Commit Message

Alexander Shiyan July 18, 2013, 6:34 p.m. UTC
This is a partial revert of the patch:
"6597619f9c ARM: clps711x: Add support for SYSCON driver".
No reason to make SYSCON driver name unique to that processor.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-clps711x/devices.c | 2 +-
 drivers/mfd/syscon.c             | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

Comments

Olof Johansson Aug. 14, 2013, 6:29 a.m. UTC | #1
On Thu, Jul 18, 2013 at 10:34:52PM +0400, Alexander Shiyan wrote:
> This is a partial revert of the patch:
> "6597619f9c ARM: clps711x: Add support for SYSCON driver".
> No reason to make SYSCON driver name unique to that processor.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied, thanks.

-Olof
Olof Johansson Aug. 14, 2013, 6:29 a.m. UTC | #2
On Thu, Jul 18, 2013 at 10:34:52PM +0400, Alexander Shiyan wrote:
> This is a partial revert of the patch:
> "6597619f9c ARM: clps711x: Add support for SYSCON driver".
> No reason to make SYSCON driver name unique to that processor.

Applied, thanks.


-Olof
diff mbox

Patch

diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c
index 856b81c..fb77d14 100644
--- a/arch/arm/mach-clps711x/devices.c
+++ b/arch/arm/mach-clps711x/devices.c
@@ -57,7 +57,7 @@  static void __init clps711x_add_syscon(void)
 	unsigned i;
 
 	for (i = 0; i < ARRAY_SIZE(clps711x_syscon_res); i++)
-		platform_device_register_simple("clps711x-syscon", i + 1,
+		platform_device_register_simple("syscon", i + 1,
 						&clps711x_syscon_res[i], 1);
 }
 
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index 1a31512..962a6e1 100644
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@ -159,9 +159,6 @@  static int syscon_probe(struct platform_device *pdev)
 
 static const struct platform_device_id syscon_ids[] = {
 	{ "syscon", },
-#ifdef CONFIG_ARCH_CLPS711X
-	{ "clps711x-syscon", },
-#endif
 	{ }
 };