gpiolib: Deduplicate forward declarations in consumer.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 7 Feb 2023 14:29:50 +0000 (16:29 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 10:33:02 +0000 (12:33 +0200)
commit91e5ae95a0af7d2db9e98e8f99436c02c304378b
tree1b2e9efc70a58ffa88c4bd9497c04626009afbdb
parent6cfd84c4f4f61905088b642a3ef1038ee627cd98
gpiolib: Deduplicate forward declarations in consumer.h

The struct fwnode_handle pointer is used in both branches of ifdeffery,
no need to have a copy of the same in each of them, just make it global.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/gpio/consumer.h