Skip to content

Commit 14e9854

Browse files
tititiou36bebarino
authored andcommitted
clk: Remove mmask and nmask fields in struct clk_fractional_divider
All users of these fields have been removed. They are now computed when needed with [mn]shift and [mn]width. This shrinks the size of struct clk_fractional_divider from 72 to 56 bytes. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/680357e5acb338433bfc94114b65b4a4ce2c99e2.1680423909.git.christophe.jaillet@wanadoo.fr Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 645a519 commit 14e9854

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/clk-provider.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,10 +1135,8 @@ struct clk_fractional_divider {
11351135
void __iomem *reg;
11361136
u8 mshift;
11371137
u8 mwidth;
1138-
u32 mmask;
11391138
u8 nshift;
11401139
u8 nwidth;
1141-
u32 nmask;
11421140
u8 flags;
11431141
void (*approximation)(struct clk_hw *hw,
11441142
unsigned long rate, unsigned long *parent_rate,

0 commit comments

Comments
 (0)