diff mbox series

[1/5] mfd: mc13xxx: stop including of_gpio.h

Message ID 20220926054421.1546436-1-dmitry.torokhov@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/5] mfd: mc13xxx: stop including of_gpio.h | expand

Commit Message

Dmitry Torokhov Sept. 26, 2022, 5:44 a.m. UTC
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(-)

Comments

Lee Jones Oct. 24, 2022, 7:32 a.m. UTC | #1
On Sun, 25 Sep 2022, Dmitry Torokhov wrote:

> 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(-)

Applied, thanks.
diff mbox series

Patch

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>