diff mbox series

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

Message ID 20240609-ti-eqep-cleanup-v1-1-9d67939c763a@baylibre.com (mailing list archive)
State Handled Elsewhere
Headers show
Series counter: ti-eqep: small cleanups | expand

Commit Message

David Lechner June 9, 2024, 8:06 p.m. UTC
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(-)

Comments

Judith Mendez June 10, 2024, 1:48 p.m. UTC | #1
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>
diff mbox series

Patch

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;
 };