diff options
author | Phil Edworthy <phil.edworthy@renesas.com> | 2022-05-03 14:55:50 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-05-05 13:12:32 +0300 |
commit | ceb3bfab2da49f804ec629a20f731611b9ece207 (patch) | |
tree | 808fce506c91f1883311d4e5eecde7079955a9ee /net/x25 | |
parent | 4a526957e6368597dea08175a67f0e15569f3958 (diff) | |
download | linux-ceb3bfab2da49f804ec629a20f731611b9ece207.tar.xz |
clk: renesas: rzg2l: Move the DEF_MUX array size calc into the macro
We only ever use ARRAY_SIZE() to populate the number of parents, so
move this into the macro to always detect it automatically. This
also makes the tables of clocks a little simpler.
Similarly for the DEF_SD_MUX macro.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Link: https://lore.kernel.org/r/20220503115557.53370-6-phil.edworthy@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions