From patchwork Wed Dec 2 13:47:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 7746241 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2F6819F350 for ; Wed, 2 Dec 2015 13:48:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 63ABB20600 for ; Wed, 2 Dec 2015 13:48:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D555820631 for ; Wed, 2 Dec 2015 13:48:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758555AbbLBNsH (ORCPT ); Wed, 2 Dec 2015 08:48:07 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36084 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758551AbbLBNsE (ORCPT ); Wed, 2 Dec 2015 08:48:04 -0500 Received: by pacdm15 with SMTP id dm15so41411930pac.3; Wed, 02 Dec 2015 05:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sCIuMj9CDkHiix7gmwnCSBai90YxmMEDE5ycyBq70F0=; b=c4ylxbY9Pr3bHad+PNkpNQrKClexDiMAJ+1ZsgzBAyH+2tAVug6wPSZyD97eM4XVNf /3mhrPTyUXPVR6Xs2zcrTd3r6Fy99WCULdoTYj1U5gDZMNxPZ1oij9qmNREAqsPIVJxb rYmkN0+soDYPlDGJUVhC07YQ0Ts/TGKNl9TaF+OfHPfLDeQweX3jsFohF3kht1GynPu7 q8cP1JGjnaJhHD9HqDmgaDegvTAfc6vzNdG7OFxCZQS+Qefi721O7g9kPJEagejlCPvp aEsOqh+r8E8ysBM8XcP8XTt+P229RaxjvP4UOZo7eX1EuUXlDyIjsgelmSeeeopxwu2I rEDA== X-Received: by 10.98.13.25 with SMTP id v25mr4696465pfi.123.1449064084353; Wed, 02 Dec 2015 05:48:04 -0800 (PST) Received: from sudip-pc.vectortproxy.org ([122.169.145.251]) by smtp.gmail.com with ESMTPSA id 6sm4612874pfm.58.2015.12.02.05.48.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 05:48:03 -0800 (PST) From: Sudip Mukherjee To: Mark Brown Cc: linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Sudip Mukherjee Subject: [PATCH 3/4] spi: butterfly: correct alignment Date: Wed, 2 Dec 2015 19:17:50 +0530 Message-Id: <1449064071-4915-3-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449064071-4915-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1449064071-4915-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP checkpatch complains about the allignment with open parenthesis. Signed-off-by: Sudip Mukherjee --- drivers/spi/spi-butterfly.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-butterfly.c b/drivers/spi/spi-butterfly.c index 8fc284d..f16ef7f 100644 --- a/drivers/spi/spi-butterfly.c +++ b/drivers/spi/spi-butterfly.c @@ -143,9 +143,8 @@ static void butterfly_chipselect(struct spi_device *spi, int value) #include "spi-bitbang-txrx.h" static u32 -butterfly_txrx_word_mode0(struct spi_device *spi, - unsigned nsecs, - u32 word, u8 bits) +butterfly_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word, + u8 bits) { return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); } @@ -223,8 +222,8 @@ static void butterfly_attach(struct parport *p) */ pp->port = p; pd = parport_register_device(p, "spi_butterfly", - NULL, NULL, NULL, - 0 /* FLAGS */, pp); + NULL, NULL, NULL, + 0 /* FLAGS */, pp); if (!pd) { status = -ENOMEM; goto clean0; @@ -275,7 +274,7 @@ static void butterfly_attach(struct parport *p) pp->dataflash = spi_new_device(pp->bitbang.master, &pp->info[0]); if (pp->dataflash) pr_debug("%s: dataflash at %s\n", p->name, - dev_name(&pp->dataflash->dev)); + dev_name(&pp->dataflash->dev)); pr_info("%s: AVR Butterfly\n", p->name); butterfly = pp;