Skip to contentSkip to conversation

extcon: palmas: Remove unused of_gpio,h

PATCH In review Andy Shevchenko 2 participants 3 messages Feb 15, 2023 – Mar 13, 2023 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: palmas: Remove unused of_gpio,h

of_gpio.h provides a single function, which is not used in this driver. Remove unused header.

---
 drivers/extcon/extcon-palmas.c | 1 -
 1 file changed, 1 deletion(-)
drivers/extcon/extcon-palmas.c +0 -1
index 32f8b541770b..d339b8680445 100644
@@ -18,7 +18,6 @@
 #include <linux/mfd/palmas.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
-#include <linux/of_gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/workqueue.h>
 
Signature · 1 line
2.39.1
#1 lore raw
Quoted 2 lines · Andy Shevchenko

of_gpio.h provides a single function, which is not used in this driver. Remove unused header.

Any comments on this?

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

of_gpio.h provides a single function, which is not used in this driver. Remove unused header.

Any comments on this?

I'm sorry for late reply. Applied it.
Thanks.

Signature · 3 lines
Best Regards,
Samsung Electronics
Chanwoo Choi