net: ethernet: ti: cpsw: minimize direct access to struct cpts
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 7 Dec 2016 00:00:35 +0000 (18:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2016 16:13:46 +0000 (11:13 -0500)
commitb63ba58ee9957261b39209f3031ff06714cf13cb
tree9d16b88e5fbdf3bf338d433de18a9d94a7e6508a
parentc8395d4e1d4ffbc9d8aa61f534c82e8deed72cfd
net: ethernet: ti: cpsw: minimize direct access to struct cpts

This will provide more flexibility in changing CPTS internals and also
required for further changes.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/cpts.h