Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752243AbaJSTaW (ORCPT ); Sun, 19 Oct 2014 15:30:22 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:54902 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751560AbaJSTaU (ORCPT ); Sun, 19 Oct 2014 15:30:20 -0400 From: Fabio Falzoi To: gregkh@linuxfoundation.org Cc: micky_ching@realsil.com.cn, joe@perches.com, giedrius.statkevicius@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Falzoi Subject: [PATCH v2 0/2] Staging: rts5208: rtsx_reset_chip style clean up Date: Sun, 19 Oct 2014 21:30:01 +0200 Message-Id: <1413747003-13655-1-git-send-email-fabio.falzoi84@gmail.com> X-Mailer: git-send-email 2.1.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up the code in rtsx_reset_chip function defining two new helper functions rtsx_reset_aspm and rtsx_enable_pcie_intr. Specifically, the following checkpatch warnings are corrected: * PARENTHESIS_ALIGNMENT at rows 271, 302, 343 and 346 * LONG_LINE at rows 294, 313 and 315 * BRACES at rowa 320 and 351 This patch is inspired by the following post on LKML regarding another clean up for rts5208 module: http://www.spinics.net/lists/linux-driver-devel/msg55038.html Changes in v2: * rebased against staging-testing branch of staging driver development tree Fabio Falzoi (2): Staging: rts5208: helper function to manage aspm during reset Staging: rts5208: helper function to enable interrupts during reset drivers/staging/rts5208/rtsx_chip.c | 165 +++++++++++++++++++----------------- 1 file changed, 87 insertions(+), 78 deletions(-) -- 2.1.1 -- 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/