From: Kelley Nielsen Date: Tue, 29 Oct 2013 15:01:50 +0000 (-0700) Subject: staging: ft1000: function request_code_segment extracted X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaeb94c93ca6de2da1901a6ca97693672ab3458c;p=pandora-kernel.git staging: ft1000: function request_code_segment extracted function scram_dnldr in ft1000_download.c is very long and contains many coding style errors and best practice violations. It consists of nested switch statements inside a while loop. One of the inner switch cases has been extracted as a helper function. Also, some style errors (such as C99 comments) have been fixed, an assignment to an unread variable has been removed, and break statements inside ifs have been converted to returns. Signed-off-by: Kelley Nielsen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed