clk: sunxi-ng: mux: Remove unused 'reg' field
authorSamuel Holland <samuel@sholland.org>
Thu, 2 Sep 2021 23:03:36 +0000 (18:03 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:03:20 +0000 (09:03 +0200)
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>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210902230336.29745-1-samuel@sholland.org
drivers/clk/sunxi-ng/ccu_mux.h

index f165395effb5a560af56334a7a41e6adf293e242..e31efc509b3dab9cc275f6872783b7ba03a1e6c0 100644 (file)
@@ -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;