diff options
author | Uwe Kleine-König <[email protected]> | 2021-12-30 16:02:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-12-30 17:44:06 +0100 |
commit | 8817c2d03a85a1311a4be30125e9299f795c7ae9 (patch) | |
tree | 538fcf19cc0d219d6e25c08b8ae36d4a9ac92993 | |
parent | 1f1b40c0571ade98fcb6b4241d59b6d3a2fab5e7 (diff) |
counter: ti-eqep: Convert to counter_priv() wrapper
This is a straight forward conversion to the new counter_priv() wrapper.
Acked-by: William Breathitt Gray <[email protected]>
Acked-by: David Lechner <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/counter/ti-eqep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/counter/ti-eqep.c b/drivers/counter/ti-eqep.c index 9e0e46bca4c2..2c70b900a6cf 100644 --- a/drivers/counter/ti-eqep.c +++ b/drivers/counter/ti-eqep.c @@ -89,7 +89,7 @@ struct ti_eqep_cnt { static struct ti_eqep_cnt *ti_eqep_count_from_counter(struct counter_device *counter) { - return container_of(counter, struct ti_eqep_cnt, counter); + return counter_priv(counter); } static int ti_eqep_count_read(struct counter_device *counter, |