From patchwork Mon Apr 16 09:34:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Izard X-Patchwork-Id: 10342463 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 9AE2F60365 for ; Mon, 16 Apr 2018 09:37:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A899285E5 for ; Mon, 16 Apr 2018 09:37:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E63D285EB; Mon, 16 Apr 2018 09:37:11 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EC7B1285E4 for ; Mon, 16 Apr 2018 09:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=jl2/ou2jV2SqClY1ETHDefnjZPniBazkcfkmWddu2x8=; b=p3hV/UTS2u6RcGDXr3dycYS941 oUBvpNjZ3BPrzmR4KKoBXRj87iJmMbDIPw37KExdF1tfMd1Ztu7SrS17bMTu9qJSd+fD50Nnt84aP 5+vkkxgL4QhdnzgSTb9/vC7FSKCRncYrY6url2alYvE3a/DW/QlNpc2daZAVlMNfzBrZQhlQyCnDp mWTXEnWT6oSl8DcAlLIIZ7GNCl/HcVFdKtBWxCQfJ6DCvHDd/gSvgen35lQmYJCnLZ6HzNFK4DVFE QXB9EsAg2DAOgf31ms0d6MZENSvvWfwxpHEwJ7sQm1p5Fd/ln3A/iUSbZbh0Yu/Gmq66sfkTRsA1f 1cgMryCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f80ZJ-0003fz-3S; Mon, 16 Apr 2018 09:37:01 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f80Xe-0002H5-No for linux-arm-kernel@lists.infradead.org; Mon, 16 Apr 2018 09:35:20 +0000 Received: by mail-wr0-x244.google.com with SMTP id u46so24010450wrc.11 for ; Mon, 16 Apr 2018 02:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y0q6qOgE2DJKy41vVuJ8eQvuGa+1oW2wAyuw3vv+4PA=; b=CByDKVMb6c91H7JZmLxSnl5hUjPN4Cj2j9Ic4YP4BPxzQXitpEHZ5VLr+B/a/IzUX0 C95zuR4lW7aapImy9bfSja/z7Dty8cfKyx7WwnF01t9zjHE21L/5vx2his3oqI2mLrB9 kNMhKqMUjl+JFyOwvjiEOo0oq4e6qVFxDGccXIwQfOrZqbOR0ZyND1GKlDrz+y60PrbO kqoo5wIi+O/kTN+Wem22ecIs5Yw07LP3k2bENigW5KVgq703kankolftmPmd5KfeQ/9M 0BUiMVwjKE9aiZRNM2ZBNf6rfRCKqIusAHCFvTyV/zdyaDxI32XdWpSrpKEGUa6+CGds lQKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=y0q6qOgE2DJKy41vVuJ8eQvuGa+1oW2wAyuw3vv+4PA=; b=HgnyiJT9v3MSWCrbyV49hpzQ2GMIiW4z5iN/9jRusYuqTZm8UT8/AWLxBmAV+Qw4El imImX9owikCtpy43HpYI2RnBVo+m9UJMeKlx/ZJgb7tcd605CwiAOu4YOJSBML2kkD2G bb0bAY+UXD+Jnte+wjcNkEZ8FcyPVUewCdMN6w1l2LEcgArPow7z6x1wq5BtUpFgVjFu JTeIHW5qVGL3PWqGDZljJBWGyrYChdT4veuOkqPWfnmpLfmtHYr2DaEKjqBFq/LWD4dk tT0NFPUnywnH7P4mGZbtOR7Zd9BH93ZvdrRkno69VeqhjV/53JVTMNz7rGNIcteESxlm RdGw== X-Gm-Message-State: ALQs6tBZqY+dCiLDmXcmou8C4EPVeHwVQzAexuwrMue3BGPMjhak2NUT DX6U/0ga8hGEWcLp2ovqL8Y= X-Google-Smtp-Source: AIpwx4+9RKybvyuyFZl/dCx07YixCdhsIWcn30tU9SfFW3zym+03/7teOTVMaq3FzABQ4lTBjcFNRQ== X-Received: by 10.28.153.213 with SMTP id b204mr10362690wme.79.1523871306908; Mon, 16 Apr 2018 02:35:06 -0700 (PDT) Received: from localhost.localdomain (146.187.3.109.rev.sfr.net. [109.3.187.146]) by smtp.gmail.com with ESMTPSA id t6sm2705335wre.32.2018.04.16.02.35.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 02:35:06 -0700 (PDT) From: Romain Izard To: Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , Ludovic Desroches Subject: [PATCH 3/3] usb: gadget: udc: atmel: Fix indenting Date: Mon, 16 Apr 2018 11:34:05 +0200 Message-Id: <20180416093405.16612-4-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180416093405.16612-1-romain.izard.pro@gmail.com> References: <20180416093405.16612-1-romain.izard.pro@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180416_023518_828622_F056DDF2 X-CRM114-Status: GOOD ( 13.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Izard , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the fallout of the conversion to GPIO descriptors in 3df034081021. Signed-off-by: Romain Izard Acked-by: Ludovic Desroches --- drivers/usb/gadget/udc/atmel_usba_udc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index b9623e228609..2f586f2bda7e 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -2277,15 +2277,15 @@ static int usba_udc_probe(struct platform_device *pdev) if (udc->vbus_pin) { irq_set_status_flags(gpiod_to_irq(udc->vbus_pin), IRQ_NOAUTOEN); ret = devm_request_threaded_irq(&pdev->dev, - gpiod_to_irq(udc->vbus_pin), NULL, - usba_vbus_irq_thread, USBA_VBUS_IRQFLAGS, - "atmel_usba_udc", udc); - if (ret) { - udc->vbus_pin = NULL; - dev_warn(&udc->pdev->dev, - "failed to request vbus irq; " - "assuming always on\n"); - } + gpiod_to_irq(udc->vbus_pin), NULL, + usba_vbus_irq_thread, USBA_VBUS_IRQFLAGS, + "atmel_usba_udc", udc); + if (ret) { + udc->vbus_pin = NULL; + dev_warn(&udc->pdev->dev, + "failed to request vbus irq; " + "assuming always on\n"); + } } ret = usb_add_gadget_udc(&pdev->dev, &udc->gadget);