diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2021-03-10 15:08:35 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-30 21:03:14 +0300 |
commit | 549cb1ae3e56e71ccd2547c3c40ff2556af8ce49 (patch) | |
tree | 787c93278b1fb221e4acd9a403dd2d6b2135a611 /COPYING | |
parent | b8900c539eabaa091cc6aff70f56a25aa78739bf (diff) | |
download | linux-549cb1ae3e56e71ccd2547c3c40ff2556af8ce49.tar.xz |
phy: ti: j721e-wiz: Remove "regmap_field" from wiz_clk_{mux|div}_sel
Both "struct wiz_clk_div_sel" and "struct wiz_clk_mux_sel" are static
data that is common for all wiz instances. Including
"struct regmap_field" for each of the wiz instances can yield undesirable
results. Move "struct regmap_field" out of "struct wiz_clk_div_sel" and
"struct wiz_clk_mux_sel" and make them point to constant data.
So far no issues are observed since both these structures are not
accessed outside the probe.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20210310120840.16447-2-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions