commit | 3359e7c2e904eac4e76d5b8b5e9390a622863df8 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Tue Mar 31 23:08:10 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 31 17:19:18 2015 -0400 |
tree | 4062de1ce9f3858f2c1346661116a9c10a4a360c | |
parent | f7dcdefe362c06a36483679defb116dda02177e1 [diff] |
ptp: gianfar: 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. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>