]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: renesas: Use bitfield helpers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 6 Nov 2025 13:34:13 +0000 (14:34 +0100)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Mon, 24 Nov 2025 19:15:47 +0000 (14:15 -0500)
commit3937b05bb78f3ad1e8887b91b9a97ea05ac0a4a8
tree922b9b8ec048f4470fd9a4234c27ff5eabac7a48
parentb1cff2f4b2391a13bd3e9263502072df1ee5d035
clk: renesas: Use bitfield helpers

Use the FIELD_{GET,PREP}() and field_{get,prep}() helpers for const
respective non-const bitfields, instead of open-coding the same
operations.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
drivers/clk/renesas/clk-div6.c
drivers/clk/renesas/rcar-gen3-cpg.c
drivers/clk/renesas/rcar-gen4-cpg.c