Skip to content

Commit

Permalink
ARM: clps711x: Remove the special name for the syscon driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Shiyan authored and Olof Johansson committed Aug 14, 2013
1 parent 44de76b commit 5104d26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-clps711x/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
3 changes: 0 additions & 3 deletions drivers/mfd/syscon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{ }
};

Expand Down

0 comments on commit 5104d26

Please sign in to comment.