Skip to contentSkip to conversation

media: rc: gpio-ir-recv: Remove unused of_gpio.h

PATCH In review Andy Shevchenko 2 participants 4 messages Mar 4, 2024 – Mar 11, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: rc: gpio-ir-recv: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 drivers/media/rc/gpio-ir-recv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/media/rc/gpio-ir-recv.c +0 -1
index 41eeec648803..b29a1a9f381d 100644
@@ -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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
#1 lore raw
Quoted 2 lines · Andy Shevchenko

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?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#2 lore raw
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

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.

Thanks,
Sean

#3 lore raw
Quoted 8 lines · Sean Young
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

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!

Signature · 2 lines
With Best Regards,
Andy Shevchenko