diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-07-18 22:34:52 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-08-14 10:29:09 +0400 |
commit | 5104d2656d4874c51868dc7182016e9501ec99ca (patch) | |
tree | 3e66d9e889df5b0203aa79abde90dc6772901692 | |
parent | 44de76b6306ff6d9012eb00174f3ea7b0a15242f (diff) | |
download | linux-5104d2656d4874c51868dc7182016e9501ec99ca.tar.xz |
ARM: clps711x: Remove the special name for the syscon driver
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>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-clps711x/devices.c | 2 | ||||
-rw-r--r-- | drivers/mfd/syscon.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c index 856b81cf2f8a..fb77d1448fec 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 1a31512369f9..962a6e17a01a 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 { } }; |