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

David Lechner posted 2 patches 1 year, 8 months ago
[PATCH 1/2] counter: ti-eqep: remove unused struct member
Posted by David Lechner 1 year, 8 months ago
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 <dlechner@baylibre.com>
---
 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
Re: [PATCH 1/2] counter: ti-eqep: remove unused struct member
Posted by Judith Mendez 1 year, 8 months ago
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 <dlechner@baylibre.com>
> ---

Reviewed-by: Judith Mendez <jm@ti.com>