From patchwork Mon Jan 5 12:01:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nizam haider X-Patchwork-Id: 5567291 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 48E38BFE6A for ; Mon, 5 Jan 2015 12:02:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 781652015A for ; Mon, 5 Jan 2015 12:02:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A7DD82017E for ; Mon, 5 Jan 2015 12:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753375AbbAEMCN (ORCPT ); Mon, 5 Jan 2015 07:02:13 -0500 Received: from mail-pd0-f177.google.com ([209.85.192.177]:44500 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753370AbbAEMCM (ORCPT ); Mon, 5 Jan 2015 07:02:12 -0500 Received: by mail-pd0-f177.google.com with SMTP id ft15so27969364pdb.36; Mon, 05 Jan 2015 04:02:11 -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; bh=IjlO+jacpcaBUm2VDvCBlYZYP0+A2De/Vx9ACKUw9q8=; b=FajhEmZFiEvqKH/NkoL/Rrc5MG8NZubckz5sJ5LX1MIc+mOY9n43mbHjHiP9rrFmVZ BwwbY3ch+wK4I2nSzyLt/Y3uk2ywvQo/poccjYzI9bjj+mk3lZrfzZlfJq1vNJz/bcG4 GzSrPtwXTatgoyphSbVL9lFavvJxWpZQChVQM9SZOnEV++QVlEMzwAhmowBfM65j1DUM iax/gGdh61odTYFpmZsxn39qm/3h35iQ0E8+mMNLmwzWrfD2w8ysmndbyaMJZ5dldl28 yUOSxRKqLb4xJeWLwz8ZH3txdy6bASbFHQzfGoFD00mbpoZPhyXHHLXJyd9lZcRxaOFA 78dw== X-Received: by 10.70.92.100 with SMTP id cl4mr145607201pdb.151.1420459331756; Mon, 05 Jan 2015 04:02:11 -0800 (PST) Received: from localhost ([117.198.225.128]) by mx.google.com with ESMTPSA id w8sm54037402pbt.71.2015.01.05.04.02.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jan 2015 04:02:11 -0800 (PST) From: nizamhaider786@gmail.com To: broonie@kernel.org Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Nizam Haider Subject: [PATCH 3/3] spi:spi-gpio: fixed space coding styple issue Date: Mon, 5 Jan 2015 17:31:03 +0530 Message-Id: <1420459263-2190-1-git-send-email-nizamhaider786@gmail.com> X-Mailer: git-send-email 2.1.3 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 From: Nizam Haider 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;