]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
counter: ti-eqep: remove unused struct member
authorDavid Lechner <dlechner@baylibre.com>
Sun, 9 Jun 2024 20:06:15 +0000 (15:06 -0500)
committerWilliam Breathitt Gray <wbg@kernel.org>
Mon, 1 Jul 2024 01:31:42 +0000 (10:31 +0900)
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>
Link: https://lore.kernel.org/r/20240609-ti-eqep-cleanup-v1-1-9d67939c763a@baylibre.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
drivers/counter/ti-eqep.c

index a27622efebb01a11f1b0c7e4b0584628334a7390..db28fc42cf1606035962c5b3f42bd79cd1ba96ad 100644 (file)
@@ -122,7 +122,6 @@ enum ti_eqep_count_func {
 };
 
 struct ti_eqep_cnt {
-       struct counter_device counter;
        struct regmap *regmap32;
        struct regmap *regmap16;
 };