]> git.karo-electronics.de Git - linux-beck.git/commit
serial: mxs: remove the MXS_AUART_DMA_CONFIG
authorHuang Shijie <shijie8@gmail.com>
Sat, 3 Aug 2013 14:09:15 +0000 (10:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2013 07:05:17 +0000 (15:05 +0800)
commitafab220396bf9a728098996d73775fd1aaa712f8
tree630667f735d221ba67f8fffd2cc96976ecb60144
parent8418e67d95235c3449df6f2e5b33863343fa72f9
serial: mxs: remove the MXS_AUART_DMA_CONFIG

The MXS_AUART_DMA_CONFIG is originally used to check if the DT node
is configured with the DMA property.

But now, the MXS_AUART_DMA_CONFIG is set unconditionally in the
serial_mxs_probe_dt(), so the check in the mxs_auart_settermios() is
not necessary anymore. This patch removes this macro.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c