From patchwork Thu Jul 15 19:06:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 477458 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp592039jao; Thu, 15 Jul 2021 12:29:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzH+RLOTAocpW/MM/ji8Ufln9cUM+dyt+SiiQfTlfD0sjYJBNJvi5oazohYiLVulj/JV2O5 X-Received: by 2002:a92:8747:: with SMTP id d7mr3871059ilm.173.1626377356788; Thu, 15 Jul 2021 12:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626377356; cv=none; d=google.com; s=arc-20160816; b=RFXcosOK5k9sPJVnZ1xK5USlqvmNSH/57sUkQMcpmx5XUzAZUDnkx1/Gqmdv07qI8S hlK446y6zvCb3JMTQOC9wneaM9gGdYY4LnQQcuvuoF6zxE0n47GiAnvjeQqMx6uCwWGp 1cHY5fcyd0VUEf6ETATdfta8VnWxlj3v98L1HuJh+XPwJZebpaerBPMuVrsF40VNOIXu DL0RfwWVVWkjV8ju7zzQg/mxs3/uelDdj1PngeIfws8P+udt4M0JwzWkDLrs0qRrs5Yb Wnz8m5bMe8QxW5jsbtFuEda0PjOdD37CBr939CBybjaPJADKjC9nEa3qbx3g9DpkLnOT +DiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lKQRAlePlTMlxkEvsDgVWIhm5eYPypHEzL5OrGHVjJI=; b=Uiu2VB+hR/MekNPHTnH8/P6pEh+0c5RRqM3TZzTXOZQdd1+k0RGly16a1otyysLhj5 ZmDwG/mcjkXq8LhaThk9wog9pcr6oOz4ySLdI7rRgqGh/4mNVd9WTXmPVqpTKTL09Inr uGEpdydgZxZQgMlYCyACs25M25MwLMHmcN4lwqEGWkzgspb5h2vMQQ25LqQuOKHohVAh o+SyK8hBFM6UU/Ggo6Nrt8j2HPeLPyjYnlzsq8IHT+RhDgS7csZrZsKwg2m9SvCnTiPb thSzm8t6mw2ekrYkuKnT3WBYmsKAerXsuh9KI0L6qaLHwnOmeMhZdigqQt5xkgCCqDDi FE5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gU5afgnH; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si6563801jat.44.2021.07.15.12.29.16; Thu, 15 Jul 2021 12:29:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gU5afgnH; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243755AbhGOTcI (ORCPT + 3 others); Thu, 15 Jul 2021 15:32:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345000AbhGOTaj (ORCPT ); Thu, 15 Jul 2021 15:30:39 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D070C08EC75 for ; Thu, 15 Jul 2021 12:08:10 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id q16so11750520lfa.5 for ; Thu, 15 Jul 2021 12:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lKQRAlePlTMlxkEvsDgVWIhm5eYPypHEzL5OrGHVjJI=; b=gU5afgnHt6RHmCo+fr9n2ut1P1aFxcoE+WoQB1vwKsMcnGhR73sfI6/YfpJBIJnpqh CGHyDzjNSYRsvrQ9sB+7b3CTTTiX8K405mqs0xPkpBhodaUdMcetjAcIeOjaWqFGrpPc Gn5/F1eE4K7Tfd7GhDOm0yKCzplxDwwhdLyX4ijdZ/fS1NbKB3yDU5mB1anfTv0iAsHc RxEBEzqb0PNIjn409FJjKyKoaaq+c7L4BbhGqsttdY+v4urd79w4o36lzTqve54Vv+zH 94F/Wf0z63OlfAAM2CZoRGydfZHlXat6rLzUes8MY5631HQbcAI/4TtijzM8zU8SJRoh pciQ== 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:mime-version :content-transfer-encoding; bh=lKQRAlePlTMlxkEvsDgVWIhm5eYPypHEzL5OrGHVjJI=; b=qhxYQmUIsXcOq6ZOcbtMblzBFhf7ReV0AzJFSriCa6sd2LwFk2czTKLV5DcYdJTTxL tE6wpcxXlFoOdTB0FKo9f1/tc8cae+F4qvYd1rEANOaE2dd8lLHg5a9IF1+xZ5SiMzh4 bpWKGVhEuA8Lt8MYq2nTqCSPV3BIQqOFih54JKx22vG5o6FGsQRm2kFHoS3cZzA7lX6L jran6OBndGwnFzMvy+O6NAbJW+i0q8QkaYK9nfWQ+Gk9n+QyrYOXhDscJtDMSacCAHXc 6dL8wr22LL60em2nUScy/72iqZghCkk3Ur68TaSWLQGFrDVMOX5mRQzChLWRphXXEcul A0sA== X-Gm-Message-State: AOAM530B2NoY4XFzynoJmxBHaktB64J5jzmXuXS+0LVV+9tzghi7zVO2 IqzM1zw4I/DpTma7m1ASegG7Pw== X-Received: by 2002:a05:6512:b96:: with SMTP id b22mr4789014lfv.155.1626376088904; Thu, 15 Jul 2021 12:08:08 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id c6sm469646lfp.196.2021.07.15.12.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 12:08:08 -0700 (PDT) From: Linus Walleij To: MyungJoo Ham , Chanwoo Choi Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Linus Walleij Subject: [PATCH] extcon: usb-gpio: Use the right includes Date: Thu, 15 Jul 2021 21:06:06 +0200 Message-Id: <20210715190606.429251-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The USB GPIO extcon driver does not use any of the legacy includes or but exploits the fact that this brings in . Fix this up by using the right includes. Signed-off-by: Linus Walleij Reviewed-by: Andy Shevchenko --- drivers/extcon/extcon-usb-gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.31.1 diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-usb-gpio.c index f06be6d4e2a9..0cb440bdd5cb 100644 --- a/drivers/extcon/extcon-usb-gpio.c +++ b/drivers/extcon/extcon-usb-gpio.c @@ -7,18 +7,17 @@ */ #include -#include #include #include #include #include #include #include -#include #include #include #include #include +#include #define USB_GPIO_DEBOUNCE_MS 20 /* ms */