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)
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>

No differences found
This page took 0.039016 seconds and 5 git commands to generate.