[PATCH 00/15] staging/bcm/led_control.c cleanup patches

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

 



Hi,

these patchset contains cleanup patches for the

    drivers/staging/bcm/led_control.c

file.

The patchset contains:

    * Whitespace / Indentation fixes
    * Removing dead code
    * Shortened lines / code
    * Outsourcing code chunks

Please note: As I do not have the appropriate Hardware, I cannot test these
patches. I compiled them at least.

Best regards,
Matthias Beyer

Matthias Beyer (15):
  Staging: bcm: led_control.c: Indentation/Whitespace/Line length
    cleanup
  Staging: bcm: led_control.c: Outsourced adapter driver state handling
  Staging: bcm: led_control.{c,h}: Fixed macro
  Staging: bcm: led_control.c: Simplified nested if conditions
  Staging: bcm: led_control.c: Replaced member accessing
  Staging: bcm: led_control.c: Outsourced code chunk
  Staging: bcm: led_control.c: Refactored variable name
  Staging: bcm: led_control.c: Removed dead code
  Staging: bcm: led_control.c: Refactored line lengths
  Staging: bcm: led_control.c: More variable names refactored
  Staging: bcm: led_control.c: Replaced time selecting ifelse with
    ternary operator
  Staging: bcm: led_control.c: Replaced doubled if-check by logical OR
    in one check
  Staging: bcm: led_control.c: Replaced member accessing by variable
  Staging: bcm: led_control.c: Replaced member accessing by variable
  Staging: bcm: led_control.c: Replaced nested ifs with logical AND
    concatenation

 drivers/staging/bcm/led_control.c | 664 ++++++++++++++++++++------------------
 drivers/staging/bcm/led_control.h |  16 +-
 2 files changed, 356 insertions(+), 324 deletions(-)

-- 
2.0.0

_______________________________________________
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