From: Benoît Thébaudeau Date: Tue, 12 Jun 2012 17:46:43 +0000 (+0200) Subject: ARM: imx: cleanup otg_mode X-Git-Tag: v3.6-rc1~147^2~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33a264ddcded2120fc0baa7afe4bcc5b4df3c416;p=pandora-kernel.git 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 Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed