Hey Zhang,
On Thu, 8 Apr 2021 at 09:10, zhangjianhua (E) zhangjianhua18@huawei.com wrote:
Hello Robert
I am sorry that I make a mistake about the compiling error of lt8912b,
the reason is that lt8912b miss the header file <linux/gpio/consumer.h>.
Although there are many files reference gpiod_set_value_cansleep() and
devm_gpiod_get_optional(), they all include <linux/gpio/consumer.h>
and not occur the compiling error like lt8912b. I have send the second
version patch, please read.
No worries at all, and good job finding the real issue. I'll have a look at the next version.
Rob.