This driver does not use any symbols from <linux/gpio.h> no <linux/gpio/consumer.h> so just drop the includes.
Unified · Split
| @@ -14,9 +14,7 @@ · 13 unmodified lines | ||
| 14 | 14 | #include <linux/kernel.h> |
| 15 | 15 | #include <linux/bug.h> |
| 16 | 16 | #include <linux/err.h> |
| 17 | −#include <linux/gpio.h> | |
| 18 | 17 | #include <linux/slab.h> |
| 19 | −#include <linux/gpio/consumer.h> | |
| 20 | 18 | #include <linux/module.h> |
| 21 | 19 | #include <linux/platform_device.h> |
| 22 | 20 | #include <linux/regulator/driver.h> |