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)
commit08fdc69945603355d24ef4adc811d2e368adbb56
treef625c7a00bacb0f6c6df587b1da6caa980069b48
parente8372c4f51d01c3db3d067ee8d62d24368606262
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