diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-01-14 22:07:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-22 14:17:44 +0100 |
commit | f8bdfe9d27350735d1cc787a5fd7c25078667496 (patch) | |
tree | fad38561087a7136a40037513f3985a78d2cca81 /drivers/tty/serdev/core.c | |
parent | serial: 8250_dw: Revert "Improve clock rate setting" (diff) | |
download | linux-dev-f8bdfe9d27350735d1cc787a5fd7c25078667496.tar.xz linux-dev-f8bdfe9d27350735d1cc787a5fd7c25078667496.zip |
serial: mxs-auart: don't use GPIOF_* with gpiod_get_direction
The documentation was wrong, gpiod_get_direction() returns 0/1 instead
of the GPIOF_* flags. The docs were fixed with commit 94fc73094abe47
("gpio: correct docs about return value of gpiod_get_direction"). Now,
fix this user (until a better, system-wide solution is in place). This
also means we can drop the deprecated use of 'linux/gpio.h'. Yay!
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serdev/core.c')
0 files changed, 0 insertions, 0 deletions