From patchwork Sat Jan 3 19:57:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nizam haider X-Patchwork-Id: 5562211 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 7E7C29F2ED for ; Sat, 3 Jan 2015 19:57:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D15E2201C8 for ; Sat, 3 Jan 2015 19:57:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C447200E5 for ; Sat, 3 Jan 2015 19:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751311AbbACT5r (ORCPT ); Sat, 3 Jan 2015 14:57:47 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:37202 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199AbbACT5q (ORCPT ); Sat, 3 Jan 2015 14:57:46 -0500 Received: by mail-pa0-f50.google.com with SMTP id bj1so25980954pad.37; Sat, 03 Jan 2015 11:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=XeGblZVtNhClEj5L4LJuyX//vlgT7A1UOmWSt5ojiq4=; b=aXh/2ZFk60fsAWHI4hnZdDWIofRjZcQjIL461uhjHZhKiSmmnCehAVrhN8+OftYSod /ZnEiZiPNTPI948x3hreLbTJWD1Y/n7DGOaaoE9HqFZaU/yG6fNfRE/5JoVjGQeNXXly ufFokK/fuwyzLRy1H3UmIt3jCPTIrIeLmcqcERm20s2t/WBhSpF451+GdbV1uyd3igW4 iTuQiaL5USl+YBgsbuVxcK8hG1ZCioIZppdXL7C4zV3sCo/9DMuFrX2Xwm9mP0l9zENM CLBtwCo+BI9pfgNZDusjwTQq1XzuCHyXUdE5W+AwlbJ5DjMEIvwo0gtKLVeINbm1bWzw HQxA== X-Received: by 10.68.239.102 with SMTP id vr6mr108601635pbc.35.1420315065658; Sat, 03 Jan 2015 11:57:45 -0800 (PST) Received: from suse.suse ([117.241.36.50]) by mx.google.com with ESMTPSA id ka5sm33591160pbc.27.2015.01.03.11.57.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Jan 2015 11:57:45 -0800 (PST) Date: Sun, 4 Jan 2015 01:27:40 +0530 From: Nizam Haider To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: 0002-Spi-spi-gpio-fixed-spaces-coding-style-issue.patch Message-ID: <20150103195740.GB20435@suse.suse> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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, T_TVD_MIME_EPI,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 From 00454f12a304489125bbdfbc2f50de3c2b9d49d3 Mon Sep 17 00:00:00 2001 From: Nizam Haider Date: Sun, 4 Jan 2015 00:24:38 +0530 Subject: [PATCH 2/2] Spi: spi-gpio: fixed spaces coding style issue Fixed a coding style issue. Signed-off-by: Nizam Haider --- drivers/spi/spi-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index aee4e75..702b0b8 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c @@ -92,7 +92,7 @@ struct spi_gpio { /*----------------------------------------------------------------------*/ -static inline struct spi_gpio * __pure +static inline struct spi_gpio *__pure spi_to_spi_gpio(const struct spi_device *spi) { const struct spi_bitbang *bang; @@ -103,7 +103,7 @@ spi_to_spi_gpio(const struct spi_device *spi) return spi_gpio; } -static inline struct spi_gpio_platform_data * __pure +static inline struct spi_gpio_platform_data *__pure spi_to_pdata(const struct spi_device *spi) { return &spi_to_spi_gpio(spi)->pdata; -- 1.8.1.4