From patchwork Fri May 11 10:19:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Izard X-Patchwork-Id: 10393871 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 23D3860153 for ; Fri, 11 May 2018 10:24:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F090028DC5 for ; Fri, 11 May 2018 10:24:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E532C28E24; Fri, 11 May 2018 10:24:24 +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 492C728DC5 for ; Fri, 11 May 2018 10:24:24 +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=H6C9vPUvTvIgaM8h48dAHnnx4FKblbw/e+dVnLT28fQ=; b=U/uwSvC3V2iqlaq9nYC7Tm3C2e 7/SHzU69VYnVM8byU8Tq9BQq1+JkHkYfN491n5Z7qxeR7wk0EcU/X1oEcDH6RgHgQI0e/ny8RIyJ6 TSdhnHQGBAz8pyC4PVb4UErkXbEgKnULqm0Y+tmn22VoyfNc7lKY+cFptDDmYILFQv/6x9o6E/I+v tklx4nLZ1OU2WcxPd39GYrbZWh9UU7XSzSaTRNn+PL7ehmrQYqFNicaexyKyfLzQrLeabzaD6cPA5 BJ5B0xDT5gdceA42gCb+0QHFtRX7f40oFGv55cc5kjJhoyzMpkq8nCg5lCKIcTKmKgs2v4LetO/gf B+mHEpgw==; 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 1fH5Df-0005b8-Kd; Fri, 11 May 2018 10:24:11 +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 1fH5AM-0003oW-1n for linux-arm-kernel@lists.infradead.org; Fri, 11 May 2018 10:20:48 +0000 Received: by mail-wr0-x244.google.com with SMTP id q3-v6so4813586wrj.6 for ; Fri, 11 May 2018 03:20:37 -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=xMjQEnpGtuFiIWxRzVcfmlrxaE5fAAMau7VhVK0fGmA=; b=evQq2t4338B5Fpodj8EmWUrKtHtjmQUAx6xpDTROwMqXftNInTZ6Cd1L3t4lMojwwd Vmwtnr92t5xQJFitIUySfOIK40qxjWDmafBYgBUdSP7rIt7swFyCx2BktlqiffxJ+RKd URMJX5e/JICac6AjeGvRjl+bFaTZw88AYokkKjoggFvjnlgciU2fsDBXLaTctzhgGQDT RoKQTIolvp08jqCnB0gIRGcE172kh7v3P8TtPezVXT6yxeNeVJIGH9vSxJnb1ejSQchH nLmnPi5s/V6TV4m8FzZWrTCdL8AnuxQXRZiGxsBIYZi+TAFHocPj/ZIJzup1DyYLPKtH yweA== 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=xMjQEnpGtuFiIWxRzVcfmlrxaE5fAAMau7VhVK0fGmA=; b=pzYNLHU0JrSDcBQ1SkDZis17iU4ZVzdArQ1ARZNQjMqoVdgv5KqLE7EaimrM9moeLE XmzgLZ+Zg2DLozOjr78q+hOogB0+m8dlPbQnL1MQnK2HfMcX09B81EyiBq4Q2aazxD8c JNTeO59qqKY+CQOTmKp9DD4bw9QvchrhrcKEBMe5YdxfgQFTAT2ylaB1riVzfsK3WSu2 aDwygan/9gdM3pwylh6Pn5J84N0RRA+HSpoxTNPiGDV5ExYpMKI4HQ5qUkzyB0ZIDApL gVbBj2D3CAEHm1RGIF8HzCCxX5L68NYmUMLD9k3miRutWfLjUYuv002fdHSTV9APUIZc p0yg== X-Gm-Message-State: ALKqPwcVC6C8iDbafiI4cgtDRvDM+S7AdqqRZkjxo1dI7snKl9AxlWBT ksxuukErFtaIwNv9oEQVp1SHqA== X-Google-Smtp-Source: AB8JxZptihyQt7/VQGQll3ItRviD+UQCk8eHCPQSWL/ANaI9EmiteGem/GpYFDUDaNgawOts1EbyMA== X-Received: by 2002:adf:e447:: with SMTP id t7-v6mr4056743wrm.143.1526034036236; Fri, 11 May 2018 03:20:36 -0700 (PDT) Received: from localhost.localdomain (ram94-11-88-187-113-157.fbx.proxad.net. [88.187.113.157]) by smtp.gmail.com with ESMTPSA id 33-v6sm3036418wrs.5.2018.05.11.03.20.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 03:20:35 -0700 (PDT) From: Romain Izard To: Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , Ludovic Desroches Subject: [PATCH v2 3/3] usb: gadget: udc: atmel: Fix indenting Date: Fri, 11 May 2018 12:19:56 +0200 Message-Id: <20180511101956.11782-4-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180511101956.11782-1-romain.izard.pro@gmail.com> References: <20180511101956.11782-1-romain.izard.pro@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180511_032046_135367_57EAF4C5 X-CRM114-Status: GOOD ( 13.56 ) 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. Acked-by: Ludovic Desroches Acked-by: Nicolas Ferre Signed-off-by: Romain Izard --- 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);