From patchwork Sat Jun 30 18:14:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 10498375 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 2C33D602BF for ; Sat, 30 Jun 2018 18:14:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C55828F8A for ; Sat, 30 Jun 2018 18:14:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10D5D28F8C; Sat, 30 Jun 2018 18:14:20 +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 AB22928F8A for ; Sat, 30 Jun 2018 18:14:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751761AbeF3SOQ (ORCPT ); Sat, 30 Jun 2018 14:14:16 -0400 Received: from mail.bugwerft.de ([46.23.86.59]:45488 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751725AbeF3SOP (ORCPT ); Sat, 30 Jun 2018 14:14:15 -0400 Received: from localhost.localdomain (p57BC976F.dip0.t-ipconnect.de [87.188.151.111]) by mail.bugwerft.de (Postfix) with ESMTPSA id 357F528C5F6; Sat, 30 Jun 2018 18:10:57 +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 v2 4/7] mmc: pxamci: fix indenting Date: Sat, 30 Jun 2018 20:14:02 +0200 Message-Id: <20180630181405.17630-5-daniel@zonque.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180630181405.17630-1-daniel@zonque.org> References: <20180630181405.17630-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)