Skip to content

Commit 645a519

Browse files
tititiou36bebarino
authored andcommitted
clk: rockchip: Remove values for mmask and nmask in struct clk_fractional_divider
Now that fractional_divider clk computes mmask and nmask when needed, there is no more need to provide them explicitly anymore. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/58e1950566e40e2fbb31004baee57a164ca6a390.1680423909.git.christophe.jaillet@wanadoo.fr Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent c1e0e39 commit 645a519

File tree

1 file changed

+0
-2
lines changed
  • drivers/clk/rockchip

1 file changed

+0
-2
lines changed

drivers/clk/rockchip/clk.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,8 @@ static struct clk *rockchip_clk_register_frac_branch(
244244
div->reg = base + muxdiv_offset;
245245
div->mshift = 16;
246246
div->mwidth = 16;
247-
div->mmask = GENMASK(div->mwidth - 1, 0) << div->mshift;
248247
div->nshift = 0;
249248
div->nwidth = 16;
250-
div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift;
251249
div->lock = lock;
252250
div->approximation = rockchip_fractional_approximation;
253251
div_ops = &clk_fractional_divider_ops;

0 commit comments

Comments
 (0)