commit | f7dcdefe362c06a36483679defb116dda02177e1 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Tue Mar 31 23:08:07 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 31 17:19:18 2015 -0400 |
tree | 8bf8b7a99b3d2813a86cde84ba281f7b2f9f2a4c | |
parent | f6a69a8fd6c009c0f5958f769dd4165773c75695 [diff] |
ptp: bnx2x: 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>