]> git.baikalelectronics.ru Git - kernel.git/commit
can: sja1000: Use device_get_match_data to get device data
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 10 Jul 2022 11:52:46 +0000 (12:52 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 19 Jul 2022 18:46:59 +0000 (20:46 +0200)
commitfb67ee7326e973281b62593b88ad16dbac43cd0d
treea51baf92ff8d465db4258b9cc61e88c1f8f42978
parentfa1032865c3f92fa415e697a7c09b6d32ad21f6b
can: sja1000: Use device_get_match_data to get device data

This patch replaces of_match_device->device_get_match_data
to get pointer to device data.

Link: https://lore.kernel.org/all/20220710115248.190280-5-biju.das.jz@bp.renesas.com
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000_platform.c