Bluetooth: btmrv1: Drop unused GPIO includes

Message ID 20190103123227.30424-1-linus.walleij@linaro.org
State New
Headers show
Series
  • Bluetooth: btmrv1: Drop unused GPIO includes
Related show

Commit Message

Linus Walleij Jan. 3, 2019, 12:32 p.m.
I can't see that these drivers use the old GPIO inlcudes in any
way, drop <linux/gpio.h> and <linux/of_gpio.h>.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/bluetooth/btmrvl_drv.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.19.2

Comments

Marcel Holtmann Jan. 18, 2019, 10:55 a.m. | #1
Hi Linus,

> I can't see that these drivers use the old GPIO inlcudes in any

> way, drop <linux/gpio.h> and <linux/of_gpio.h>.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

> drivers/bluetooth/btmrvl_drv.h | 2 --

> 1 file changed, 2 deletions(-)


patch has been applied to bluetooth-next tree.

Regards

Marcel

Patch

diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h
index f0454541e5fd..fb7729779166 100644
--- a/drivers/bluetooth/btmrvl_drv.h
+++ b/drivers/bluetooth/btmrvl_drv.h
@@ -24,11 +24,9 @@ 
 #include <linux/slab.h>
 #include <net/bluetooth/bluetooth.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/gfp.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
-#include <linux/of_gpio.h>
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>