gpiolib: Deduplicate forward declaration in the consumer.h header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Aug 2021 17:39:25 +0000 (20:39 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Aug 2021 12:54:11 +0000 (15:54 +0300)
commitb390752191a6e09e8fb89625e227db0d5cc0ca33
tree64dc1421f7b9dd1431ea65cf3e87ced41a9ee2d4
parent40bb0e3e270a33b03a39cdd77bf03fc18dfe2fab
gpiolib: Deduplicate forward declaration in the consumer.h header

struct acpi_device is repeated in two branches of ifdeffery.
Move it out and hence deduplicate.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/consumer.h