summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/iomux-mx3.h
diff options
context:
space:
mode:
authorDmitry Voytik <voytikd@gmail.com>2014-11-06 22:55:04 +0400
committerShawn Guo <shawn.guo@linaro.org>2014-11-22 07:39:36 +0800
commitc3008735fce9f9a0f92fd79d4e1f3969d6f33c9f (patch)
tree54a7771717223271c1ff282131be1098fd3fe553 /arch/arm/mach-imx/iomux-mx3.h
parentc400f7a26fa0fa8ea7268cef27f1ba980df54267 (diff)
ARM: imx: refactor mxc_iomux_mode()
Refactor mxc_iomux_mode(): - since it always returns 0 make it to return void - remove unnecessary ret variable - declare variables according to the kernel coding style Signed-off-by: Dmitry Voytik <voytikd@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/iomux-mx3.h')
-rw-r--r--arch/arm/mach-imx/iomux-mx3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/iomux-mx3.h b/arch/arm/mach-imx/iomux-mx3.h
index f79f78a1c0ed..0a5adba61e0b 100644
--- a/arch/arm/mach-imx/iomux-mx3.h
+++ b/arch/arm/mach-imx/iomux-mx3.h
@@ -144,7 +144,7 @@ void mxc_iomux_set_gpr(enum iomux_gp_func, bool en);
* It is called by the setup functions and should not be called directly anymore.
* It is here visible for backward compatibility
*/
-int mxc_iomux_mode(unsigned int pin_mode);
+void mxc_iomux_mode(unsigned int pin_mode);
#define IOMUX_PADNUM_MASK 0x1ff
#define IOMUX_GPIONUM_SHIFT 9