rtsx_polling_func is a big function that manage a lot of independent tasks. This patch aims to refactor the code using a series of helper functions, to make it more readable. Plus, the following checkpatch warning is corrected: * PARENTHESIS_ALIGNMENT at row 1246 Fabio Falzoi (7): Staging: rts5208: helper function to manage sd erase status Staging: rts5208: helper function to manage power off Staging: rts5208: helper function to manage ss Staging: rts5208: helper function to manage aspm Staging: rts5208: helper function to manage idle Staging: rts5208: helper function to manage 1lun and 2lun modes Staging: rts5208: helper function to manage delink states drivers/staging/rts5208/rtsx_chip.c | 452 +++++++++++++++++++----------------- 1 file changed, 244 insertions(+), 208 deletions(-) -- 2.1.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel