diff mbox series

[v1,1/1] media: rc: gpio-ir-recv: Remove unused of_gpio.h

Message ID 20240304180510.1201042-1-andriy.shevchenko@linux.intel.com
State Accepted
Commit 649a53b68e776f1d4b743abd502f7102659b7b40
Headers show
Series [v1,1/1] media: rc: gpio-ir-recv: Remove unused of_gpio.h | expand

Commit Message

Andy Shevchenko March 4, 2024, 6:05 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/media/rc/gpio-ir-recv.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andy Shevchenko March 11, 2024, 2:25 p.m. UTC | #1
On Mon, Mar 04, 2024 at 08:05:10PM +0200, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.

Sean, are you okay with this change?
Andy Shevchenko March 11, 2024, 2:48 p.m. UTC | #2
On Mon, Mar 11, 2024 at 02:35:41PM +0000, Sean Young wrote:
> On Mon, Mar 11, 2024 at 04:25:49PM +0200, Andy Shevchenko wrote:
> > On Mon, Mar 04, 2024 at 08:05:10PM +0200, Andy Shevchenko wrote:
> > > of_gpio.h is deprecated and subject to remove.
> > > The driver doesn't use it, simply remove the unused header.
> > 
> > Sean, are you okay with this change?
> 
> Looks great, I've applied it my branch.

Thank you!
diff mbox series

Patch

diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc/gpio-ir-recv.c
index 41eeec648803..b29a1a9f381d 100644
--- a/drivers/media/rc/gpio-ir-recv.c
+++ b/drivers/media/rc/gpio-ir-recv.c
@@ -9,7 +9,6 @@ 
 #include <linux/gpio/consumer.h>
 #include <linux/slab.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/pm_qos.h>