can: flexcan: convert the driver to DT-only
authorFabio Estevam <festevam@gmail.com>
Sat, 28 Nov 2020 13:28:55 +0000 (10:28 -0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 10 Dec 2020 09:40:10 +0000 (10:40 +0100)
commit2c0ac9208135c75b9afec67b2819329ff41a5355
tree2f4cfb11b4942e965a438f61454182e6640e0716
parentcab7ffc0324f053c8fb56c821cdd63dc0383270d
can: flexcan: convert the driver to DT-only

The flexcan driver runs only on DT platforms, so simplify the code by using
of_device_get_match_data() to retrieve the driver data and also by removing the
unused id_table.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20201128132855.7724-1-festevam@gmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c