gpiolib: Make the legacy <linux/gpio.h> consumer-only

The legacy <linux/gpio.h> header was an all-inclusive header used
by drivers and consumers alike. After eliminating the last users
of the driver defines, we can drop the inclusion of the
<linux/gpio/driver.h> header.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Linus Walleij 2020-07-03 15:04:51 +02:00 committed by Andy Shevchenko
parent 3b541b890e
commit 21d9526d13
1 changed files with 0 additions and 1 deletions

View File

@ -8,7 +8,6 @@
#ifdef CONFIG_GPIOLIB
#include <linux/compiler.h>
#include <linux/gpio/driver.h>
#include <linux/gpio/consumer.h>
/*