* [PATCH] clk: sunxi-ng: mux: Remove unused 'reg' field
@ 2021-09-02 23:03 Samuel Holland
2021-09-03 8:48 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Holland @ 2021-09-02 23:03 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, linux-clk, linux-sunxi, linux-kernel, Samuel Holland
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(-)
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;
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: sunxi-ng: mux: Remove unused 'reg' field
2021-09-02 23:03 [PATCH] clk: sunxi-ng: mux: Remove unused 'reg' field Samuel Holland
@ 2021-09-03 8:48 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2021-09-03 8:48 UTC (permalink / raw)
To: Samuel Holland
Cc: Chen-Yu Tsai, Jernej Skrabec, Michael Turquette, Stephen Boyd,
linux-arm-kernel, linux-clk, linux-sunxi, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-03 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 23:03 [PATCH] clk: sunxi-ng: mux: Remove unused 'reg' field Samuel Holland
2021-09-03 8:48 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).