diff mbox series

[v1,1/1] fpga: ice40-spi: Remove unused of_gpio.h

Message ID 20240304175723.1200249-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State New
Headers show
Series [v1,1/1] fpga: ice40-spi: Remove unused of_gpio.h | expand

Commit Message

Andy Shevchenko March 4, 2024, 5:57 p.m. UTC
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/fpga/ice40-spi.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andy Shevchenko April 10, 2024, 8:10 p.m. UTC | #1
On Mon, Mar 04, 2024 at 07:57:23PM +0200, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.

Any comment on this? Can it be applied?
Xu Yilun April 11, 2024, 8:27 a.m. UTC | #2
On Wed, Apr 10, 2024 at 11:10:41PM +0300, Andy Shevchenko wrote:
> On Mon, Mar 04, 2024 at 07:57:23PM +0200, Andy Shevchenko wrote:
> > of_gpio.h is deprecated and subject to remove.
> > The driver doesn't use it, simply remove the unused header.
> 
> Any comment on this? Can it be applied?

Acked-by: Xu Yilun <yilun.xu@intel.com>

Applied to for-next.

> 
> -- 
> With Best Regards,
> Andy Shevchenko
> 
> 
>
diff mbox series

Patch

diff --git a/drivers/fpga/ice40-spi.c b/drivers/fpga/ice40-spi.c
index c0028ae4c5b7..46927945f1b9 100644
--- a/drivers/fpga/ice40-spi.c
+++ b/drivers/fpga/ice40-spi.c
@@ -11,7 +11,6 @@ 
 #include <linux/fpga/fpga-mgr.h>
 #include <linux/gpio/consumer.h>
 #include <linux/module.h>
-#include <linux/of_gpio.h>
 #include <linux/spi/spi.h>
 #include <linux/stringify.h>