Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752066AbbFNNtX (ORCPT ); Sun, 14 Jun 2015 09:49:23 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:34687 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751408AbbFNNtP (ORCPT ); Sun, 14 Jun 2015 09:49:15 -0400 From: Fabio Falzoi To: gregkh@linuxfoundation.org Cc: micky_ching@realsil.com.cn, joe@perches.com, dan.carpente@oracle.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Falzoi Subject: [PATCH 0/7] Staging: rts5208: rtsx_polling_func function clean up Date: Sun, 14 Jun 2015 15:48:46 +0200 Message-Id: <1434289733-29077-1-git-send-email-fabio.falzoi84@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 27 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/