counter: ti-eqep: remove counter_priv() wrapper
authorDavid Lechner <dlechner@baylibre.com>
Sun, 9 Jun 2024 20:06:16 +0000 (15:06 -0500)
committerWilliam Breathitt Gray <wbg@kernel.org>
Mon, 1 Jul 2024 01:31:42 +0000 (10:31 +0900)
commit1a84aaadb06b46f044eebf0de3bd3ac77a6ec52e
tree5ad80a6ec904c4cb74a4377864464260322612fe
parentbc4666be63bdc7c562cfb2e9ea42cdb2c444a5b2
counter: ti-eqep: remove counter_priv() wrapper

The ti_eqep_count_from_counter() function is just a wrapper around
counter_priv(). counter_priv() can be used directly, so we don't need
the wrapper function. Remove it.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20240609-ti-eqep-cleanup-v1-2-9d67939c763a@baylibre.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
drivers/counter/ti-eqep.c