]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ptp: igb: use helpers for converting ns to timespec.
authorRichard Cochran <richardcochran@gmail.com>
Tue, 31 Mar 2015 21:08:12 +0000 (23:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 21:19:19 +0000 (17:19 -0400)
commit350f66d58a62e63ef3163450f68ed4b2a0ab507b
tree7995902748712d1e9e58dfa4afa4d0cf15d536cc
parentbdf36d947134baced573594118ff575f5c6cb77b
ptp: igb: 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/intel/igb/igb_ptp.c