ARM: imx: cleanup otg_mode
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Tue, 12 Jun 2012 17:46:43 +0000 (19:46 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 13 Jun 2012 07:03:24 +0000 (09:03 +0200)
commit33a264ddcded2120fc0baa7afe4bcc5b4df3c416
treedc04c6e89f00a27b4dd213cd322b034b4d96462f
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
ARM: imx: cleanup otg_mode

Cleanup the code for the otg_mode command line param:
* Use the bool type as it applies here.
* Qualify otg_mode_host with __initdata since this variable is only used in this
  context.
* The __setup functions are not supposed to return a status code, but a boolean
  indicating whether the param has been handled. See obsolete_checksetup() in
  init/main.c.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-cpuimx27.c
arch/arm/mach-imx/mach-cpuimx35.c
arch/arm/mach-imx/mach-cpuimx51sd.c
arch/arm/mach-imx/mach-eukrea_cpuimx25.c
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-mx31_3ds.c
arch/arm/mach-imx/mach-mx35_3ds.c
arch/arm/mach-imx/mach-mx51_babbage.c
arch/arm/mach-imx/mach-pca100.c
arch/arm/mach-imx/mach-pcm037.c
arch/arm/mach-imx/mach-pcm043.c
This page took 0.028664 seconds and 5 git commands to generate.