ARM: orion/gpio: Use the right include
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Jan 2023 09:51:34 +0000 (10:51 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 10:33:00 +0000 (12:33 +0200)
commitd1143d50073cff1f6dcd4bf62a8eb3852770ae4d
tree7e95e877696a8dc8369455732c422d6387d83f85
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
ARM: orion/gpio: Use the right include

This is a GPIO driver so include <linux/gpio/driver.h> and not
the legacy <linux/gpio.h> header. Switch a single call to the
legacy API and use <linux/gpio/consumer.h> as well.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/arm/plat-orion/gpio.c