Skip to content

Commit 13b0452

Browse files
Yuan Canbebarino
authored andcommitted
clk: clk-npcm7xx: Remove unused struct npcm7xx_clk_gate_data and npcm7xx_clk_div_fixed_data
After commit 6a58984("clk: clk-npcm7xx: Remove unused static const tables 'npcm7xx_gates' and 'npcm7xx_divs_fx'"), no one use struct npcm7xx_clk_gate_data and struct npcm7xx_clk_div_fixed_data, so remove them. Signed-off-by: Yuan Can <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 75569a0 commit 13b0452

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

drivers/clk/clk-npcm7xx.c

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,6 @@ npcm7xx_clk_register_pll(void __iomem *pllcon, const char *name,
129129
#define NPCM7XX_SECCNT (0x68)
130130
#define NPCM7XX_CNTR25M (0x6C)
131131

132-
struct npcm7xx_clk_gate_data {
133-
u32 reg;
134-
u8 bit_idx;
135-
const char *name;
136-
const char *parent_name;
137-
unsigned long flags;
138-
/*
139-
* If this clock is exported via DT, set onecell_idx to constant
140-
* defined in include/dt-bindings/clock/nuvoton, NPCM7XX-clock.h for
141-
* this specific clock. Otherwise, set to -1.
142-
*/
143-
int onecell_idx;
144-
};
145-
146132
struct npcm7xx_clk_mux_data {
147133
u8 shift;
148134
u8 mask;
@@ -160,21 +146,6 @@ struct npcm7xx_clk_mux_data {
160146

161147
};
162148

163-
struct npcm7xx_clk_div_fixed_data {
164-
u8 mult;
165-
u8 div;
166-
const char *name;
167-
const char *parent_name;
168-
u8 clk_divider_flags;
169-
/*
170-
* If this clock is exported via DT, set onecell_idx to constant
171-
* defined in include/dt-bindings/clock/nuvoton, NPCM7XX-clock.h for
172-
* this specific clock. Otherwise, set to -1.
173-
*/
174-
int onecell_idx;
175-
};
176-
177-
178149
struct npcm7xx_clk_div_data {
179150
u32 reg;
180151
u8 shift;

0 commit comments

Comments
 (0)