Skip to content

Commit

Permalink
usb: host: u132-hcd: Various style improvements
Browse files Browse the repository at this point in the history
 - Don't break strings over two (or more) lines
 - Put the , separating function args at the end of line
 - Replace

	if (cond) {} else { ... }

   by

	if (!cond) { ... }

 - Consistently use curly braces in all blocks belonging to the same if
   if at least one block needs them.

 - Don't start a new line just for );

There are no semantic changes.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230321101911.342538-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Uwe Kleine-König authored and Greg Kroah-Hartman committed Mar 21, 2023
1 parent 55b7fa6 commit 9e67955
Showing 1 changed file with 208 additions and 190 deletions.
Loading

0 comments on commit 9e67955

Please sign in to comment.