clk: renesas: rcar-gen3: Make cpg_z_clk.mask u32

cpg_z_clk.mask contains a mask for a 32-bit register.
Hence its size can be reduced from unsigned long to u32.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20210326120100.1577596-3-geert+renesas@glider.be
This commit is contained in:
Geert Uytterhoeven 2021-03-26 13:00:55 +01:00
parent 192c344e7c
commit 58effcd350
1 changed files with 1 additions and 1 deletions

View File

@ -50,8 +50,8 @@ struct cpg_z_clk {
struct clk_hw hw; struct clk_hw hw;
void __iomem *reg; void __iomem *reg;
void __iomem *kick_reg; void __iomem *kick_reg;
unsigned long mask;
unsigned int fixed_div; unsigned int fixed_div;
u32 mask;
}; };
#define to_z_clk(_hw) container_of(_hw, struct cpg_z_clk, hw) #define to_z_clk(_hw) container_of(_hw, struct cpg_z_clk, hw)