summaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-04-02 12:42:07 +0300
committerStephen Boyd <sboyd@kernel.org>2023-04-05 22:09:27 +0300
commit14e985482111a2c6bc75a0348701a4acdc5558d8 (patch)
treee246cee1e75d6d89094baf3a468f9f64c74b4bb6 /include/linux/clk-provider.h
parent645a5198ddba6d6b2dea8346ca796064e931a0c3 (diff)
downloadlinux-14e985482111a2c6bc75a0348701a4acdc5558d8.tar.xz
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>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 842e72a5348f..3271a2bc352f 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -1135,10 +1135,8 @@ struct clk_fractional_divider {
void __iomem *reg;
u8 mshift;
u8 mwidth;
- u32 mmask;
u8 nshift;
u8 nwidth;
- u32 nmask;
u8 flags;
void (*approximation)(struct clk_hw *hw,
unsigned long rate, unsigned long *parent_rate,