Skip to content
Commit 84d923ce authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

ptp: cpts: 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: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7ea55be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment