]> git.ipfire.org Git - thirdparty/linux.git/commit
can: rcar_canfd: Update RCANFD_CFG_* macros
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 8 Sep 2025 12:09:31 +0000 (13:09 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 13 Sep 2025 17:06:54 +0000 (19:06 +0200)
commit726213c8e79a615497816b76c9d236aaf8a47053
treeab97c7a0e5455554673bd261d1e347fb1a2da896
parent100fafc3e46138cb5a6526ddc03dcede8b020c8c
can: rcar_canfd: Update RCANFD_CFG_* macros

Update RCANFD_CFG_* macros to give a meaning to the magic number using
GENMASK macro and extract the values using FIELD_PREP macro.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20250908120940.147196-3-biju.das.jz@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rcar/rcar_canfd.c