commit | 8cb8f16c62e5ea9c77ca7d25af761f4eaea670ba | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Tue Jan 22 22:57:38 2019 +0300 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Fri Jan 25 11:26:22 2019 +0100 |
tree | 29a6cc3bc674c877c31655b9577e61336f77a00c | |
parent | d9286d9743b6e8cfbf1a13f8db84e9c65c0b09c7 [diff] |
clk: renesas: rcar-gen3: Factor out cpg_reg_modify() There's quite often repeated sequence of a CPG register read-modify-write, so it seems worth factoring it out into a function -- this saves 68 bytes of the object code (AArch64 gcc 4.8.5) and simplifies protecting all such sequences with a spinlock in the next patch... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>