commit | cefc2fc61e1f5c80c6240634da01a4b846e9a6db | [log] [tgz] |
---|---|---|
author | Elise Lennion <elise.lennion@gmail.com> | Thu Oct 27 22:22:28 2016 -0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 30 11:13:11 2016 -0400 |
tree | 0caf7329dfa5646bdda9f7896496672f65fedbb7 | |
parent | 1fda5b7566561c8e1fc6fd572cbdc7ec32051b16 [diff] |
staging: sm750fb: Refine code in set_current_gate(). The 'switch' statement in set_current_gate() had only two possible scenarios, so it was replaced with an 'if' statement to make the code shorter and easier to understand. Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>