[v1,1/1] extcon: palmas: Remove unused of_gpio,h

Message ID 20230215165035.83657-1-andriy.shevchenko@linux.intel.com
State New
Headers
Series [v1,1/1] extcon: palmas: Remove unused of_gpio,h |

Commit Message

Andy Shevchenko Feb. 15, 2023, 4:50 p.m. UTC
  of_gpio.h provides a single function, which is not used in this driver.
Remove unused header.

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

Comments

Andy Shevchenko March 10, 2023, 3:27 p.m. UTC | #1
On Wed, Feb 15, 2023 at 06:50:35PM +0200, Andy Shevchenko wrote:
> of_gpio.h provides a single function, which is not used in this driver.
> Remove unused header.

Any comments on this?
  
Chanwoo Choi March 13, 2023, 10:43 a.m. UTC | #2
On 23. 3. 11. 00:27, Andy Shevchenko wrote:
> On Wed, Feb 15, 2023 at 06:50:35PM +0200, Andy Shevchenko wrote:
>> 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.
  

Patch

diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c
index 32f8b541770b..d339b8680445 100644
--- a/drivers/extcon/extcon-palmas.c
+++ b/drivers/extcon/extcon-palmas.c
@@ -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>