commit | 7b97174cc93fadb055258f4f8f3b964e9968e59f | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Jun 14 01:16:47 2021 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Thu Jun 24 00:55:41 2021 +0200 |
tree | e89c917253e3920166e58e9e73ef05fdb40b4482 | |
parent | ee78b9360e14c276f5ceaa4a0d06f790f04ccdad [diff] |
leds: lgm: Fix up includes This driver is including the legacy GPIO header <linux/gpio.h> but the only thing it is using from that header is the wrong define for GPIOF_DIR_OUT. Fix it up by using GPIO_LINE_DIRECTION_OUT and including the correct consumer and driver headers. Cc: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>