]> git.karo-electronics.de Git - karo-tx-linux.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)
commit286af315d3f153595ce718fb1e442891f14ed5c0
tree3bc06dd662be82c90daa9d3b927b742826b41125
parent63e51b6a24f1bee5363056b7aee3a468b12c546b
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