Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp588589imm; Fri, 11 May 2018 03:21:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoUJpGxoScB/hyGdI/sl7uYrZd2f2JhELibMT4KMt5m3gTCChTJ4hlI2SQGhHSqD5+J+Qcv X-Received: by 2002:a17:902:850a:: with SMTP id bj10-v6mr4802708plb.239.1526034067961; Fri, 11 May 2018 03:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526034067; cv=none; d=google.com; s=arc-20160816; b=0eJUEc/95xCzwQVPu8nDLUQcnZ67dx3IsR7+W9OqG0iMrbLEySKcZW/y8OCP0BONum hw7I1A+g1aM42huYX6ywq8N6C8tnHsV42gqbLeBBBYDWO0RW+osKSEMtRzTI0xG7NHfT G+NglhrhHwtZYkYkCVQtqIiSS1ZBZ5vyYFMGAkFgqlaH/Xm1nqWhUJHEKI5WCdOBPH/D 6UWOYGfr2Wk0N3LgY/oVPehs4LkxmnD0qonIitMleIAJR+S23vUesvpQgef66rX1ShhZ iFCnDSK0MpmzFpGuYyrJ7L97iT6g0ZK0aNkxWF2dIcJD/reVwlv0VTOlcS+/La2OixlC Ww9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=xMjQEnpGtuFiIWxRzVcfmlrxaE5fAAMau7VhVK0fGmA=; b=jJE6k+LCHYeYdV6xkiK6/aJJBywNrFI3fTH10SLS5vfRaI7S/GnWE+9bw7uBsJtpR2 MO4hqgEGab1aIVZFyKVQfv4BfKmnNMS4ImVEM3QPE+P5LAA0cYJDmbYUYXRGK71WhRGC uZYwVvJs9oSoyvqiw+Ku6/rTLixPJqtrA12maFPXOc/QNZXC9LDj+dlsDqbDqS1STsdB xgt8o68FlZRLWEH/A0G5GplR+3QVR92zofbxNKMJJtuZwo+owYBBTX3hLu7OM6AdpsR1 9eZns4YVICXOQ4whbSQKt07OjSVdj5UnIiWsRQDiGu7uf6GD3ubQiEf2bJGDxgi35yWL FiPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=evQq2t43; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17-v6si2318765pgv.188.2018.05.11.03.20.53; Fri, 11 May 2018 03:21:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=evQq2t43; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752948AbeEKKUk (ORCPT + 99 others); Fri, 11 May 2018 06:20:40 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45109 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbeEKKUh (ORCPT ); Fri, 11 May 2018 06:20:37 -0400 Received: by mail-wr0-f193.google.com with SMTP id p5-v6so4797457wre.12; Fri, 11 May 2018 03:20:36 -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=h1PURzpWjKHXBHJlg06tdUDklZdYjWL+/dejJT6Ai/B+fQ+PIZ/zYa4sArDhaE1enp 7pAYDHQYHgWgZHbRPQpVx6z3EgfeYL0Rou6uD9Pylzb0MwYVbDhZM+8QWtAKHkYkixRH rtM27mCUAzO3kKh9KuG/vNdmktwyB1JC3ih7wR+oCdiTABBhrZ5qPG2J3+3kn7pEha3f 20UwyLSrm1yvqpHQW5kF0TuHov7TH1fS7518wFw0OdIKYryELo3vXOKlzD2LnulmnVKG pMG9tpLjHAfjVutmG423iDbyP/8gu/Q8wK9k0QUQg5t/3T5ZGojMf0SlJLYNMo9NjD6/ /BAw== X-Gm-Message-State: ALKqPwcjLnS1b/b64ML9Xd+cq7zyBZqHjb8jxDO94r3zZIS1SFoSwqmo wFjfsvn9I3eYaESIN29xLkw= 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 Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, Romain Izard 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); -- 2.14.1