diff options
author | Ralph Siemsen <ralph.siemsen@linaro.org> | 2023-03-01 16:55:17 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-03-10 17:07:53 +0100 |
commit | a1aae0a6b122300d057e30487fc8291d3cd730ca (patch) | |
tree | 40c2f6b2f5c8f1bcf7d1fb320803c40994eb39c7 /lib/test-string_helpers.c | |
parent | 85af88b8f7d606be8a9b89fcda61a5df28a2028d (diff) |
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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions