serial: mxs-auart: Remove unneeded platform_device_id
authorFabio Estevam <festevam@gmail.com>
Mon, 23 Nov 2020 19:04:38 +0000 (16:04 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Nov 2020 20:20:03 +0000 (21:20 +0100)
commit5f1697fee6f6758ec1001569ae26d7a70a8bbc8e
tree77a586ff26a4124104861fa421cf4116d950d332
parent6e4e636e0e3e0b5deffc5e233adcb2cd4e68f2d0
serial: mxs-auart: Remove unneeded platform_device_id

The mxs-auart driver is only used for DT platforms and there is no
need to use the platform_device_id structure.

Get rid the platform_device_id structure and retrieve the data via
of_device_get_match_data(), which simplifies the code.

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