]> git.karo-electronics.de Git - linux-beck.git/commit
ptp: fec: use helpers for converting ns to timespec.
authorRichard Cochran <richardcochran@gmail.com>
Tue, 31 Mar 2015 21:08:09 +0000 (23:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 21:19:19 +0000 (17:19 -0400)
commit6630514fcee9987a06e991956a1e8eaa2a421a70
tree7caa6a3d16049557e8f8f3b5266cecac5ff712b9
parent7a20efb07437f8716977401c5bd183c3d192ff12
ptp: fec: use helpers for converting ns to timespec.

This patch changes the driver to use ns_to_timespec64() and
timespec64_to_ns() instead of open coding the same logic.

Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_ptp.c