diff mbox series

clk: sunxi-ng: mux: Remove unused 'reg' field

Message ID 20210902230336.29745-1-samuel@sholland.org (mailing list archive)
State New, archived
Headers show
Series clk: sunxi-ng: mux: Remove unused 'reg' field | expand

Commit Message

Samuel Holland Sept. 2, 2021, 11:03 p.m. UTC
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(-)

Comments

Maxime Ripard Sept. 3, 2021, 8:48 a.m. UTC | #1
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 mbox series

Patch

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;