clk: renesas: r9a06g032: Improve readability
authorRalph Siemsen <ralph.siemsen@linaro.org>
Wed, 1 Mar 2023 21:55:17 +0000 (16:55 -0500)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 10 Mar 2023 16:07:53 +0000 (17:07 +0100)
commita1aae0a6b122300d057e30487fc8291d3cd730ca
tree40c2f6b2f5c8f1bcf7d1fb320803c40994eb39c7
parent85af88b8f7d606be8a9b89fcda61a5df28a2028d
clk: renesas: r9a06g032: Improve readability

Several small readability improvements:
- Move enum gate_type definition up and add comments to each field.
- Use this enum instead of generic uint32_t type in clock desc struct.
- Tidy up bitfield syntax and comments in clock desc structure
- Reformat macros for building clock desc to have one assignment per line

There is no functional change.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230301215520.828455-2-ralph.siemsen@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a06g032-clocks.c