diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-09-13 10:18:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-18 18:36:25 +0200 |
commit | 79d9e95a05c13647ccc68c5115b0ff6d21e53ab4 (patch) | |
tree | 48965c53202636d60b4a3f6fd479acb5a23f4b7b /drivers/tty/serial/fsl_lpuart.c | |
parent | serial: Add common rs485 device tree parsing function (diff) | |
download | linux-79d9e95a05c13647ccc68c5115b0ff6d21e53ab4.tar.xz linux-79d9e95a05c13647ccc68c5115b0ff6d21e53ab4.zip |
serial: atmel: Use common rs485 device tree parsing function
We just got a common helper for parsing the rs485 specific
device tree properties. Use it and drop the open coded parser.
Note that there is a small difference between the removed and the now
used implementation: The former cleared flags to 0 if rs485-rts-delay
was given, the common helper clears SER_RS485_RX_DURING_TX and
SER_RS485_ENABLED only but always which makes more sense.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[ukleinek: point out semantic change in commit log]
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/fsl_lpuart.c')
0 files changed, 0 insertions, 0 deletions