]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpts: move dt props parsing to cpts driver
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 7 Dec 2016 00:00:42 +0000 (18:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2016 16:13:48 +0000 (11:13 -0500)
commitd7f271948c161f089d6ff3c88d91f454aadde859
tree61f61a8d2ec6c324cc474c5a4288f5cad7c5aa33
parent28f5ff373868d878e435a3d574c7633a83ada5f4
net: ethernet: ti: cpts: move dt props parsing to cpts driver

Move DT properties parsing into CPTS driver to simplify CPSW
code and CPTS driver porting on other SoC in the future
(like Keystone 2) - with this change it will not be required
to add the same DT parsing code in Keystone 2 NETCP driver.

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/cpsw.h
drivers/net/ethernet/ti/cpts.c
drivers/net/ethernet/ti/cpts.h