]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: blackfin: use helpers for converting ns to timespec.
authorRichard Cochran <richardcochran@gmail.com>
Tue, 31 Mar 2015 21:08:06 +0000 (23:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 21:19:19 +0000 (17:19 -0400)
commitc37c3374124de12eb4f2e7dbfba2485780c9528e
tree4ae4f19d7e06f78cf3af1632a7e6066afd4ae8ce
parent434dc573d7ad95ef317feed62e9416b581de5d65
ptp: blackfin: 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>
drivers/net/ethernet/adi/bfin_mac.c