diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-11-23 16:04:38 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-26 21:20:03 +0100 |
commit | 5f1697fee6f6758ec1001569ae26d7a70a8bbc8e (patch) | |
tree | 77a586ff26a4124104861fa421cf4116d950d332 /drivers/of/fdt.c | |
parent | 6e4e636e0e3e0b5deffc5e233adcb2cd4e68f2d0 (diff) | |
download | linux-stable-5f1697fee6f6758ec1001569ae26d7a70a8bbc8e.tar.gz linux-stable-5f1697fee6f6758ec1001569ae26d7a70a8bbc8e.tar.bz2 linux-stable-5f1697fee6f6758ec1001569ae26d7a70a8bbc8e.zip |
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>
Diffstat (limited to 'drivers/of/fdt.c')
0 files changed, 0 insertions, 0 deletions