Message ID | 20230615162514.21195-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 k13csp767752vqr; Thu, 15 Jun 2023 09:39:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70v/Hsp8U4021kyqwQJbUkAr3je/MbydZoEBMm/ctZcnhqiPtQ4TTK+V3XqZPL/RmR679X X-Received: by 2002:a2e:7a10:0:b0:2b1:b747:fad6 with SMTP id v16-20020a2e7a10000000b002b1b747fad6mr9589038ljc.39.1686847164670; Thu, 15 Jun 2023 09:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686847164; cv=none; d=google.com; s=arc-20160816; b=FEsvH2bF3pfVN9k/4oFQNYRbalgfpBnRnk1BXWppYu4ni9sj2yfsbzd73AoAAfY9nA FINlTAKW7nLZQ/xRew0qvL877Hdv8b801jDF4bGh3myjXvh4Kv9q+r25vBp+jT7dFuZD PQki2VpuSccah2erCK4OmukmEkuBByNakkIUkBEpaNA8UT7nvgt9q6bsseW7iDJKjisP FHMomcGhON4F+fai/dAmX8ws8kI5areZHv99PkWEufm6nh1AXqoIEQ/vpFCawKcfr/QA ovuQXoTuvVsFkz6BDFRj8ozCNmNvI3NKCB1ASxlHfrKi2gmw8bT6FQ6aDbtV3UAy3ZwU oh2g== 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=oAXMVl0Nn7WUtqcQ+XKTSatCcD43jqze0kP2rWoB5bs=; b=mj/vC/U0gMsLOW9j2g7mI7fVy1uiaJM+jF4+3PO3gZbA6h6mOuVEYUIj9bgCNRUwtQ Tf8temLs261TI42FFfxt0aYTXhD6787myWi2R4kR0T7KlT/ZW6wy7qjK7KDm1RwXCmAM Qj6u3JkAdYfFNam30fRgRKUxIjyWEpIae1n74L04ktqBBMWl7nULPGllTQ7sJilcUi5T TvVUDCGW/4bowl743/PNmv091cPU1d0XCOp+HLylarQ2mexf/CHroa2QDgLcZ1rEpHsx ObVhuEsUurauF8NFxsdR9Yc4PK8dyDgtH2HoByTtx17I/VMe+mUHWJezKpMy7J5TLeXA 0Myw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GLlayUG3; 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 m11-20020aa7c48b000000b00514b3a2009dsi10367947edq.178.2023.06.15.09.39.00; Thu, 15 Jun 2023 09:39:24 -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=GLlayUG3; 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 S231163AbjFOQZt (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Thu, 15 Jun 2023 12:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbjFOQZZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Jun 2023 12:25:25 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6640D1BDB; Thu, 15 Jun 2023 09:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686846324; x=1718382324; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=XsJeHyM9PuN2tIHvCthEpU4ofv/DPS933pIxreJ5jeU=; b=GLlayUG32eAPuFaeKejWq3K7cvfdyA9NcOvaoJ4swfNNTEMtcuS5zjET EG4GcpOVdxepdrfiyOPsOFnkkslBjxYd6Ytrs18aqzZuhj5Hpy8TPgh79 3XQSXMu8hSIED/qJa85iVXHY0KT+rT+FB3pWo+89hJbw08pw6uGwMO4Fz sJRT4iUuwxSOxjDrKp3uyocxdovodls/PhhYxtZIg8Kxk7B75quBHwE1W +M3X3N/OjqY+iRLi/WYAmhcy20nn4TmkVDBEy+be3aUKvXvtZ0h3O2tQp EUwT10SjRJw/4nDjT0/ot0rXYzy06XmBKmOT7jfYTLsBt6M1jUpp5uINB w==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="356460456" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="356460456" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 09:25:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="706730649" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="706730649" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga007.jf.intel.com with ESMTP; 15 Jun 2023 09:25:07 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id BB3C6379; Thu, 15 Jun 2023 19:25:16 +0300 (EEST) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org> Subject: [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion Date: Thu, 15 Jun 2023 19:25:14 +0300 Message-Id: <20230615162514.21195-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=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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?1768787452546247864?= X-GMAIL-MSGID: =?utf-8?q?1768787452546247864?= |
Series |
[v1,1/1] gpio: mpc8xxx: 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-mpc8xxx.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Thursday 15 June 2023 19:25:14 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> Reviewed-by: Pali Rohár <pali@kernel.org> > --- > drivers/gpio/gpio-mpc8xxx.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c > index 3eb08cd1fdc0..35214e9de4ce 100644 > --- a/drivers/gpio/gpio-mpc8xxx.c > +++ b/drivers/gpio/gpio-mpc8xxx.c > @@ -12,7 +12,6 @@ > #include <linux/spinlock.h> > #include <linux/io.h> > #include <linux/of.h> > -#include <linux/of_gpio.h> > #include <linux/of_address.h> > #include <linux/of_irq.h> > #include <linux/of_platform.h> > -- > 2.40.0.1.gaa8946217a0b >
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-mpc8xxx.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c > index 3eb08cd1fdc0..35214e9de4ce 100644 > --- a/drivers/gpio/gpio-mpc8xxx.c > +++ b/drivers/gpio/gpio-mpc8xxx.c > @@ -12,7 +12,6 @@ > #include <linux/spinlock.h> > #include <linux/io.h> > #include <linux/of.h> > -#include <linux/of_gpio.h> > #include <linux/of_address.h> > #include <linux/of_irq.h> > #include <linux/of_platform.h> > -- > 2.40.0.1.gaa8946217a0b > Applied, thanks! Bart
diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index 3eb08cd1fdc0..35214e9de4ce 100644 --- a/drivers/gpio/gpio-mpc8xxx.c +++ b/drivers/gpio/gpio-mpc8xxx.c @@ -12,7 +12,6 @@ #include <linux/spinlock.h> #include <linux/io.h> #include <linux/of.h> -#include <linux/of_gpio.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/of_platform.h>