All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] staging: ks7010 refactor _ks_wlan_hw_power_save
@ 2017-02-27  3:14 Tobin C. Harding
  2017-02-27  3:14 ` [PATCH 1/5] staging: ks7010: invert conditional, reduce indent Tobin C. Harding
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tobin C. Harding @ 2017-02-27  3:14 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Wolfram Sang, driverdev-devel, Tobin C. Harding

Function _ks_wlan_hw_power_save has 5 levels of indentation. Reducing
the amount of indentation may make code clearer to read. Also a number
of other checkpatch warnings may be removed if we first reduce the
level of indentation in this function.

There are a couple of split line warnings and various function call
parameters split over many lines due to the deep nesting.

Reduce level of indentation (by 3), fix checkpatch warnings and clean
up function call parameter line placing.

Tobin C. Harding (5):
  staging: ks7010: invert conditional, reduce indent
  staging: ks7010: fix checkpatch MULTILINE_DEREFERENCE
  staging: ks7010: move logic operator to end of line
  staging: ks7010: remove switch statement
  staging: ks7010: refactor function call parameters

 drivers/staging/ks7010/ks7010_sdio.c | 107 +++++++++++++++--------------------
 1 file changed, 45 insertions(+), 62 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-27  3:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27  3:14 [PATCH 0/5] staging: ks7010 refactor _ks_wlan_hw_power_save Tobin C. Harding
2017-02-27  3:14 ` [PATCH 1/5] staging: ks7010: invert conditional, reduce indent Tobin C. Harding
2017-02-27  3:14 ` [PATCH 2/5] staging: ks7010: fix checkpatch MULTILINE_DEREFERENCE Tobin C. Harding
2017-02-27  3:14 ` [PATCH 3/5] staging: ks7010: move logic operator to end of line Tobin C. Harding
2017-02-27  3:14 ` [PATCH 4/5] staging: ks7010: remove switch statement Tobin C. Harding
2017-02-27  3:14 ` [PATCH 5/5] staging: ks7010: refactor function call parameters Tobin C. Harding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.