[PATCH 0/5] staging: ks7010 refactor _ks_wlan_hw_power_save

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux