From patchwork Fri Jun 29 14:47:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 10496805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 30393601C7 for ; Fri, 29 Jun 2018 14:48:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C0312817F for ; Fri, 29 Jun 2018 14:48:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E03E29878; Fri, 29 Jun 2018 14:48:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B13B92817F for ; Fri, 29 Jun 2018 14:48:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935396AbeF2Or6 (ORCPT ); Fri, 29 Jun 2018 10:47:58 -0400 Received: from mail.bugwerft.de ([46.23.86.59]:34586 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934664AbeF2Or5 (ORCPT ); Fri, 29 Jun 2018 10:47:57 -0400 Received: from localhost.localdomain (tmo-105-139.customers.d1-online.com [80.187.105.139]) by mail.bugwerft.de (Postfix) with ESMTPSA id A70B028C395; Fri, 29 Jun 2018 14:44:40 +0000 (UTC) From: Daniel Mack To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: robert.jarzmik@free.fr, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Daniel Mack Subject: [PATCH 4/7] mmc: pxamci: fix indenting Date: Fri, 29 Jun 2018 16:47:35 +0200 Message-Id: <20180629144738.446-5-daniel@zonque.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180629144738.446-1-daniel@zonque.org> References: <20180629144738.446-1-daniel@zonque.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP pxamci_of_init() had some weird indenting. Signed-off-by: Daniel Mack Acked-by: Robert Jarzmik --- drivers/mmc/host/pxamci.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index ee1c32862ef8..3df60c7babce 100644 --- a/drivers/mmc/host/pxamci.c +++ b/drivers/mmc/host/pxamci.c @@ -593,16 +593,16 @@ MODULE_DEVICE_TABLE(of, pxa_mmc_dt_ids); static int pxamci_of_init(struct platform_device *pdev) { - struct device_node *np = pdev->dev.of_node; - struct pxamci_platform_data *pdata; - u32 tmp; + struct device_node *np = pdev->dev.of_node; + struct pxamci_platform_data *pdata; + u32 tmp; - if (!np) - return 0; + if (!np) + return 0; - pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); - if (!pdata) - return -ENOMEM; + pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); + if (!pdata) + return -ENOMEM; pdata->gpio_card_detect = of_get_named_gpio(np, "cd-gpios", 0); @@ -616,9 +616,9 @@ static int pxamci_of_init(struct platform_device *pdev) if (of_property_read_u32(np, "pxa-mmc,detect-delay-ms", &tmp) == 0) pdata->detect_delay_ms = tmp; - pdev->dev.platform_data = pdata; + pdev->dev.platform_data = pdata; - return 0; + return 0; } #else static int pxamci_of_init(struct platform_device *pdev)