Message ID | 20230615162519.21244-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp769840vqr; Thu, 15 Jun 2023 09:43:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69z2NwS7tVZ8ISSGGfToVWMxruRISgGePEkEFfxHjpuMSlSKKbud9v5YIsqBSk+va8YNxb X-Received: by 2002:a17:902:650d:b0:1b5:85f:cffa with SMTP id b13-20020a170902650d00b001b5085fcffamr3916588plk.51.1686847400983; Thu, 15 Jun 2023 09:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686847400; cv=none; d=google.com; s=arc-20160816; b=p0PTGsLalFECK/ZymO7+YCjfbkDRSy8eszZ5Q2U959bGT8j4wM424DIYkIFpnvKWer LxhnCfxW6ejlPzMYq4ahsQSMgnkzpQ4pUfwuL/iyHh0OdsRCs2Y43zB5pgP9Uw1m2PO0 vgIkgvqQEOui49kPiwaNcpEzSf58OKjRNGYfCCJPSP1zzNPwVX1knNkLngg/zd3JCLdF fe55lPvmeowqahOSZ5EzCh+WpEWn8rK2Zf1TFRzVLeKtWdf2+TeMju1ndE2gyvjfEXzl v7upGFpjSe98ZJSENt9DysYvoW3KVPGmOQESBtMdRUt2SHcL1uNd6yZ2gdEPlu9YCIvl K01w== 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=sqZKF1cWGFbrRP5PJofYalUpxPsNGOlHjAQjxfQ7Vbk=; b=MWuKsie9ptdCJXGUrRDgEIybmfel8ySfvqRQptLwfvk0+vqvof8IHnW52f6xNyUZua hSq1aDEqHqyTrS5Hz25QQEGjTa1SK4UW1K3HYdezXEwju2d6rbNM5At2zSbMgTth1aML KCO5AtR6ZVoi/LF7dFE2BNtQ9RMwaWT621ne0nvSFHmfR5EwbWN/XG9CxUIw9OwXaCbH jbRUI6RCZLbax9/E3EUiBwlg718MMWbgziikos6YMbbao5dEIrK9UH2tO6G9GBz3OUBu uDegOGx/BZWeKzM9OUWPpy14yLThrYR7CyFq2P5tytWQA64OaKzJud7B3yI+lDYN4UtK /YoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BiSqYjMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020a170902e55100b001acb03ca5aasi13797755plf.612.2023.06.15.09.43.07; Thu, 15 Jun 2023 09:43:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BiSqYjMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230009AbjFOQZr (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Thu, 15 Jun 2023 12:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjFOQZP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Jun 2023 12:25:15 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B67211FE2; Thu, 15 Jun 2023 09:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686846314; x=1718382314; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gZVNHON66K092rebzdYLLooqv26SviVTgyudimDhcFU=; b=BiSqYjMkST7QRtfdi7nHKSIeg0XwPha6KhS0KBCdrvTb8G3V2ohQcRnN /bhcJBEPe3GB//5iZVUQQbRBlUhvaA3oB9XMdQlSziWi5S5fNySvA+AjC IwCe/Ub+JrG15NrbTBVktuX7uba3FYM7qm6OMBGGrjSZmaMHm72oUeSOS 79byjNP0jTk10VohSvsgkTa3Txfyu1wYFiwoT/yJYU0ysNOsUbEnkE4/S OL6HT0hF+hSCr36YDyzqOrnB6nQEKi7Isv83Gq5n3iS3NE/Ct/q8mzGAp QSMjBY1+QmhBKFD+BrVhjnvvJzIHcO1WHExSYx9YFBrNKsYNDUt0VjKUH w==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="343696429" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="343696429" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 09:25:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="802469660" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="802469660" Received: from black.fi.intel.com ([10.237.72.28]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jun 2023 09:25:11 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 1D9D1403; Thu, 15 Jun 2023 19:25:20 +0300 (EEST) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, Vladimir Zapolskiy <vz@mleia.com> Subject: [PATCH v1 1/1] gpio: lpc18xx: Remove unused of_gpio.h inclusion Date: Thu, 15 Jun 2023 19:25:19 +0300 Message-Id: <20230615162519.21244-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768787700829192049?= X-GMAIL-MSGID: =?utf-8?q?1768787700829192049?= |
Series |
[v1,1/1] gpio: lpc18xx: Remove unused of_gpio.h inclusion
|
|
Commit Message
Andy Shevchenko
June 15, 2023, 4:25 p.m. UTC
The of_gpio.h is not and shouldn't be used in the GPIO drivers.
Remove it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/gpio/gpio-lpc18xx.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Thu, Jun 15, 2023 at 6:25 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > The of_gpio.h is not and shouldn't be used in the GPIO drivers. > Remove it. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On 6/15/23 19:25, Andy Shevchenko wrote: > The of_gpio.h is not and shouldn't be used in the GPIO drivers. > Remove it. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- Thank you for the correct change. Acked-by: Vladimir Zapolskiy <vz@mleia.com> -- Best wishes, Vladimir
On Thu, Jun 15, 2023 at 6:25 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > The of_gpio.h is not and shouldn't be used in the GPIO drivers. > Remove it. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- > drivers/gpio/gpio-lpc18xx.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpio/gpio-lpc18xx.c b/drivers/gpio/gpio-lpc18xx.c > index d711ae06747e..ed3f653a1dfc 100644 > --- a/drivers/gpio/gpio-lpc18xx.c > +++ b/drivers/gpio/gpio-lpc18xx.c > @@ -14,7 +14,6 @@ > #include <linux/module.h> > #include <linux/of.h> > #include <linux/of_address.h> > -#include <linux/of_gpio.h> > #include <linux/of_irq.h> > #include <linux/pinctrl/consumer.h> > #include <linux/platform_device.h> > -- > 2.40.0.1.gaa8946217a0b > Applied, thanks! Bart
diff --git a/drivers/gpio/gpio-lpc18xx.c b/drivers/gpio/gpio-lpc18xx.c index d711ae06747e..ed3f653a1dfc 100644 --- a/drivers/gpio/gpio-lpc18xx.c +++ b/drivers/gpio/gpio-lpc18xx.c @@ -14,7 +14,6 @@ #include <linux/module.h> #include <linux/of.h> #include <linux/of_address.h> -#include <linux/of_gpio.h> #include <linux/of_irq.h> #include <linux/pinctrl/consumer.h> #include <linux/platform_device.h>