1. 18 Apr, 2017 17 commits
  2. 14 Apr, 2017 22 commits
  3. 11 Apr, 2017 1 commit
    • Tobin C. Harding's avatar
      staging: ks7010: move check and break to top of loop · d317d054
      Tobin C. Harding authored
      Function uses an if statement within a for loop to guard a block of
      code. If 'if' statement conditional evaluates to false, loop breaks. The
      same logic can be expressed by inverting the conditional and breaking
      when new conditional evaluates to true. This allows the subsequent code
      to be indented one level less, aiding readability. Reduced indentation
      also allows for the code to be laid out more clearly and fixes two
      checkpatch warnings.
      
      Invert if statement conditional, break from for loop if new
      conditional evaluates to true. Reduce indentation in subsequent code,
      fix whitespace issues. Do not change program logic.
      Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d317d054