]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mxs-auart: Remove serial_mxs_probe_dt()
authorFabio Estevam <festevam@gmail.com>
Mon, 18 Jan 2021 15:21:53 +0000 (12:21 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jan 2021 17:48:19 +0000 (18:48 +0100)
commit268f0f0b2a89965555bc986c684080711c834b31
treef625c7a00bacb0f6c6df587b1da6caa980069b48
parent19f92ddf457e820f6ab53ccdd208ba6bcd7e0261
serial: mxs-auart: Remove serial_mxs_probe_dt()

The mxs platform is devicetree-only, so there is no need to check
whether it was instantiated via devicetree.

Simplify the code my removing serial_mxs_probe_dt() and add its
content into the main probe function.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210118152154.1644569-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c