From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Lee Jones <lee@kernel.org>
Cc: Tony Lindgren <tony@atomide.com>,
Charles Keepax <ckeepax@opensource.cirrus.com>,
Richard Fitzgerald <rf@opensource.cirrus.com>,
patches@opensource.cirrus.com, linux-kernel@vger.kernel.org,
linux-omap@vger.kernel.org
Subject: [PATCH 1/5] mfd: mc13xxx: stop including of_gpio.h
Date: Sun, 25 Sep 2022 22:44:17 -0700 [thread overview]
Message-ID: <20220926054421.1546436-1-dmitry.torokhov@gmail.com> (raw)
Neither SPI nor I2C variant uses any APIs from of_gpio.h so let's stop
including it.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
drivers/mfd/mc13xxx-i2c.c | 1 -
drivers/mfd/mc13xxx-spi.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/mfd/mc13xxx-i2c.c b/drivers/mfd/mc13xxx-i2c.c
index eb94f3004cf3..89ab01105460 100644
--- a/drivers/mfd/mc13xxx-i2c.c
+++ b/drivers/mfd/mc13xxx-i2c.c
@@ -11,7 +11,6 @@
#include <linux/mfd/mc13xxx.h>
#include <linux/of.h>
#include <linux/of_device.h>
-#include <linux/of_gpio.h>
#include <linux/i2c.h>
#include <linux/err.h>
diff --git a/drivers/mfd/mc13xxx-spi.c b/drivers/mfd/mc13xxx-spi.c
index f803527e5819..2809fbeb317c 100644
--- a/drivers/mfd/mc13xxx-spi.c
+++ b/drivers/mfd/mc13xxx-spi.c
@@ -15,7 +15,6 @@
#include <linux/mfd/mc13xxx.h>
#include <linux/of.h>
#include <linux/of_device.h>
-#include <linux/of_gpio.h>
#include <linux/err.h>
#include <linux/spi/spi.h>
--
2.37.3.998.g577e59143f-goog
next reply other threads:[~2022-09-26 5:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 5:44 Dmitry Torokhov [this message]
2022-09-26 5:44 ` [PATCH 2/5] mfd: madera: include correct gpio API Dmitry Torokhov
2022-10-24 7:32 ` Lee Jones
2022-09-26 5:44 ` [PATCH 3/5] mfd: palmas: stop including of_gpio.h Dmitry Torokhov
2022-10-24 7:33 ` Lee Jones
2022-09-26 5:44 ` [PATCH 4/5] mfd: twl6040: switch to using gpiod API Dmitry Torokhov
2022-10-24 7:33 ` Lee Jones
2022-09-26 5:44 ` [PATCH 5/5] mfd: twl6040: drop twl6040_platform_data and associated definitions Dmitry Torokhov
2022-10-24 7:34 ` Lee Jones
2022-10-24 7:32 ` [PATCH 1/5] mfd: mc13xxx: stop including of_gpio.h Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220926054421.1546436-1-dmitry.torokhov@gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=ckeepax@opensource.cirrus.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=rf@opensource.cirrus.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.