]> git.baikalelectronics.ru Git - kernel.git/commit
net: cavium: liquidio: use helpers ns_to_timespec64()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 27 Jan 2016 09:34:37 +0000 (17:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jan 2016 20:14:21 +0000 (15:14 -0500)
commit15e98eafbd3d29ea318847afd65dc152073c788a
tree3bc06dd662be82c90daa9d3b927b742826b41125
parent2cf63549a151a1a74f50b160410f96eab4d34422
net: cavium: liquidio: use helpers ns_to_timespec64()

Convert the driver to use ns_to_timespec64() to keep consistency
with timespec64_to_ns() instead of open coding the same logic.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c