clk: meson: add regmap helpers for parm
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 14:58:39 +0000 (15:58 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:04:01 +0000 (10:04 +0100)
commitf510c32a6af6123bc0638bfe869728bf8be71027
treeef8ce7d184c8fc15d398c3de249dba670ddc45f9
parent2513a28c108b0584989927195ba5230e296762ec
clk: meson: add regmap helpers for parm

Meson clock drivers are using struct parm to describe each field of the
clock provider. Providing helpers to access these fields with regmap
helps to keep drivers readable

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/clkc.h