tty: serial: cpm_uart: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 29 Feb 2020 23:18:42 +0000 (00:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2020 12:16:16 +0000 (13:16 +0100)
commit97cbaf2c829b476887582f5ae92363ebea27cc47
treeeaa1356042be669fb95e2743492051d8b498db56
parent8145e85f8245ec92516b331ccf0bdc833fe3ef17
tty: serial: cpm_uart: Convert to use GPIO descriptors

The CPM UART (PowerPC) has an open coded GPIO modem control
handling. Since I can't test this I can't just migrate it to
the serial mctrl GPIO helper library though I wish I could.
I do second best and convert it to GPIO descriptors at least.

Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200229231842.247563-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/cpm_uart/cpm_uart.h
drivers/tty/serial/cpm_uart/cpm_uart_core.c