serial: fsl_lpuart: Use common rs485 device tree parsing function
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 13 Sep 2017 08:18:29 +0000 (10:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 16:36:25 +0000 (18:36 +0200)
commitdde18d53d72d06c30a925ca73986f711102b064e
treea441d4dac27e829b1f8e1012c4350953d98b564b
parent79d9e95a05c13647ccc68c5115b0ff6d21e53ab4
serial: fsl_lpuart: 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.

As a side effect this adds support for parsing rs485-rts-delay and
rs485-rx-during-tx. As the driver doesn't support this though, probing
fails if these are defined.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c