]> git.ipfire.org Git - thirdparty/linux.git/commit
can: rcar_canfd: Add helper variable dev to rcar_canfd_reset_controller()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 11 Jun 2025 15:37:33 +0000 (17:37 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 13 Jun 2025 07:34:08 +0000 (09:34 +0200)
commit1f9b5003d4baf72055371fcdb15dda5759a8e908
treeba31f8af6f59f2881962d8999a3d85e91909848e
parent4e5974f5515bf631f4f39c3f53f5bdb8ba7746a3
can: rcar_canfd: Add helper variable dev to rcar_canfd_reset_controller()

rcar_canfd_reset_controller() has many users of "pdev->dev".  Introduce
a shorthand to simplify the code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/21e64816808eb3eba722f4c547f4f5112d5d62a6.1749655315.git.geert+renesas@glider.be
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rcar/rcar_canfd.c