gpio: dln2: Include proper header
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 24 Jan 2018 12:55:22 +0000 (13:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Mar 2018 00:50:07 +0000 (01:50 +0100)
commit1cb6610aec83a592ca04d92d6a4fadaee5611e44
treefb70e29058675fe8b0b9981802d63efa4becc01e
parent95260c17b27e4bdacf85022e629fb701b42cc190
gpio: dln2: Include proper header

This driver has no business including <linux/gpio.h>, it is a
driver so include <linux/gpio/driver.h>.

GPIOF_DIR_IN/GPIOF_DIR_OUT are for consumers and should not be
used in drivers to use just 1/0 instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dln2.c