Skip to contentSkip to conversation

gpio: mb86s7x: don't include gpiolib.h

PATCH In review Bartosz Golaszewski 2 participants 2 messages Sep 6, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: mb86s7x: don't include gpiolib.h

From: Bartosz Golaszewski <[email protected]>

The gpiolib.h is unnecessarily included in the driver. None of its symbols are used so drop it.

---
 drivers/gpio/gpio-mb86s7x.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpio/gpio-mb86s7x.c +0 -1
index ca7eb5e8bfaa..248df657c38e 100644
@@ -20,7 +20,6 @@
 #include <linux/spinlock.h>
 #include <linux/slab.h>
 
-#include "gpiolib.h"
 #include "gpiolib-acpi.h"
 
 /*
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

The gpiolib.h is unnecessarily included in the driver. None of its symbols are used so drop it.

For this and all patches "gpio: *: don't include gpiolib.h"

Signature · 2 lines
With Best Regards,
Andy Shevchenko