Browse Source

extcon: int3496: Use proper GPIO include

Since commit eca0f13c836a ("extcon: int3496: Ignore incorrect
IoRestriction for ID pin"), the driver doesn't use GPIOF_* flags
anymore. We can thus now drop the deprecated include file for GPIO and
use the new one.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Wolfram Sang 7 years ago
parent
commit
c355bb1afc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/extcon/extcon-intel-int3496.c

+ 1 - 1
drivers/extcon/extcon-intel-int3496.c

@@ -20,7 +20,7 @@
 
 #include <linux/acpi.h>
 #include <linux/extcon-provider.h>
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>