From: Benjamin Romer Date: Fri, 5 Dec 2014 22:08:52 +0000 (-0500) Subject: staging: unisys: refactor init_vbus_channel() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~533 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4a1468029bb96ffd74f1047fba699aaa54295c;p=pandora-kernel.git staging: unisys: refactor init_vbus_channel() Clean up the function definition so it's a single line. Remove the unnecessary goto statements and just return directly. Remove the unneeded local variable for the return result. Fix CamelCase parameters and local variable names: channelAddr => ch_addr channelBytes => ch_bytes pChan => ch Signed-off-by: Bryan Thompson Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed