2024-06-09 20:06:38

by David Lechner

[permalink] [raw]
Subject: [PATCH 1/2] counter: ti-eqep: remove unused struct member

Since commit 8817c2d03a85 ("counter: ti-eqep: Convert to counter_priv()
wrapper") the counter field in struct ti_eqep_cnt is not used anymore.
Remove it.

Signed-off-by: David Lechner <[email protected]>
---
drivers/counter/ti-eqep.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/counter/ti-eqep.c b/drivers/counter/ti-eqep.c
index 072b11fd6b32..30c35b6c6050 100644
--- a/drivers/counter/ti-eqep.c
+++ b/drivers/counter/ti-eqep.c
@@ -82,7 +82,6 @@ enum ti_eqep_count_func {
};

struct ti_eqep_cnt {
- struct counter_device counter;
struct regmap *regmap32;
struct regmap *regmap16;
};

--
2.45.2



2024-06-10 14:10:46

by Judith Mendez

[permalink] [raw]
Subject: Re: [PATCH 1/2] counter: ti-eqep: remove unused struct member

Hi David,

On 6/9/24 3:06 PM, David Lechner wrote:
> Since commit 8817c2d03a85 ("counter: ti-eqep: Convert to counter_priv()
> wrapper") the counter field in struct ti_eqep_cnt is not used anymore.
> Remove it.
>
> Signed-off-by: David Lechner <[email protected]>
> ---

Reviewed-by: Judith Mendez <[email protected]>