From: David Lechner Date: Sun, 9 Jun 2024 20:06:15 +0000 (-0500) Subject: counter: ti-eqep: remove unused struct member X-Git-Tag: v6.11-rc1~100^2~62^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc4666be63bdc7c562cfb2e9ea42cdb2c444a5b2;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Judith Mendez Link: https://lore.kernel.org/r/20240609-ti-eqep-cleanup-v1-1-9d67939c763a@baylibre.com Signed-off-by: William Breathitt Gray --- diff --git a/drivers/counter/ti-eqep.c b/drivers/counter/ti-eqep.c index a27622efebb01..db28fc42cf160 100644 --- a/drivers/counter/ti-eqep.c +++ b/drivers/counter/ti-eqep.c @@ -122,7 +122,6 @@ enum ti_eqep_count_func { }; struct ti_eqep_cnt { - struct counter_device counter; struct regmap *regmap32; struct regmap *regmap16; };