summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mockup.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-29 12:09:57 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-30 10:50:30 +0200
commit94502ba9a47c2bfbd2e4d4d683392b409e9c31bb (patch)
tree617ba64c14f66e5db9ec784233c8f132ce75ffad /drivers/gpio/gpio-mockup.c
parentDocumentation: gpio: add documentation for gpio-mockup (diff)
downloadlinux-94502ba9a47c2bfbd2e4d4d683392b409e9c31bb.tar.xz
linux-94502ba9a47c2bfbd2e4d4d683392b409e9c31bb.zip
gpio: mockup: drop unneeded includes
This module doesn't need gpio/consumer.h - it's a provider. It also doesn't use any symbols from init.h so let's remove both includes. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-mockup.c')
-rw-r--r--drivers/gpio/gpio-mockup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c
index 1652897fdf90..c5092773afd8 100644
--- a/drivers/gpio/gpio-mockup.c
+++ b/drivers/gpio/gpio-mockup.c
@@ -8,9 +8,7 @@
*/
#include <linux/debugfs.h>
-#include <linux/gpio/consumer.h>
#include <linux/gpio/driver.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irq_sim.h>