commit | b83ef507d9e2bc25cea40b1fb13ebd1ca7c4969a | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Thu Jan 28 10:27:19 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 29 12:38:59 2016 -0800 |
tree | 1ba15767135207cb9f9e1f682e84b1b58619dec6 | |
parent | 21603fc45bdef3696f45d80a1c9d730e06b925c5 [diff] |
ptp: ixp46x: use helpers for converting ns to timespec Convert the driver to use ns_to_timespec64() and timespec64_to_ns() instead of open coding the same logic. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>