diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2014-04-19 12:32:50 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-08 12:22:52 -0400 |
commit | 8eee0f81cdaafb2fc78dcd5087a15c7f428d7751 (patch) | |
tree | f15ea2f4b2d4f0475e9a148ff41a7e42d8cedb8a /arch/arm | |
parent | c42e1ffa269f098133629adf54cabe242596b647 (diff) |
ARM: mvebu: fix the name of the parameter used in mvebu_get_soc_id
The name of the two parameters of mvebu_get_soc_id were inverted. This
patch fix it in order to have a more readable code.
Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1397925170-8202-3-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mvebu/board-v7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c index b674f3717cfc..c8a90d992be2 100644 --- a/arch/arm/mach-mvebu/board-v7.c +++ b/arch/arm/mach-mvebu/board-v7.c | |||
@@ -95,7 +95,7 @@ static void __init i2c_quirk(void) | |||
95 | * mechanism. We can exit only if we are sure that we can | 95 | * mechanism. We can exit only if we are sure that we can |
96 | * get the SoC revision and it is more recent than A0. | 96 | * get the SoC revision and it is more recent than A0. |
97 | */ | 97 | */ |
98 | if (mvebu_get_soc_id(&rev, &dev) == 0 && dev > MV78XX0_A0_REV) | 98 | if (mvebu_get_soc_id(&dev, &rev) == 0 && rev > MV78XX0_A0_REV) |
99 | return; | 99 | return; |
100 | 100 | ||
101 | for_each_compatible_node(np, NULL, "marvell,mv78230-i2c") { | 101 | for_each_compatible_node(np, NULL, "marvell,mv78230-i2c") { |