Message ID | 20210902230336.29745-1-samuel@sholland.org (mailing list archive) |
---|---|
State | Awaiting Upstream, archived |
Headers | show |
Series | clk: sunxi-ng: mux: Remove unused 'reg' field | expand |
On Thu, Sep 02, 2021 at 06:03:36PM -0500, Samuel Holland wrote: > The driver uses 'reg' from 'struct ccu_common' everywhere, so this > duplicate field is unused and unnecessary. Remove it. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Applied, thanks Maxime
diff --git a/drivers/clk/sunxi-ng/ccu_mux.h b/drivers/clk/sunxi-ng/ccu_mux.h index f165395effb5..e31efc509b3d 100644 --- a/drivers/clk/sunxi-ng/ccu_mux.h +++ b/drivers/clk/sunxi-ng/ccu_mux.h @@ -40,7 +40,6 @@ struct ccu_mux_internal { _SUNXI_CCU_MUX_TABLE(_shift, _width, NULL) struct ccu_mux { - u16 reg; u32 enable; struct ccu_mux_internal mux;
The driver uses 'reg' from 'struct ccu_common' everywhere, so this duplicate field is unused and unnecessary. Remove it. Signed-off-by: Samuel Holland <samuel@sholland.org> --- drivers/clk/sunxi-ng/ccu_mux.h | 1 - 1 file changed, 1 deletion(-)