mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-02 15:44:09 +01:00
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]>
This commit is contained in:
1 parent
1f1b40c057
commit
8817c2d03a
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user