Commit 8817c2d0 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Greg Kroah-Hartman
Browse files

counter: ti-eqep: Convert to counter_priv() wrapper

parent 1f1b40c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,