Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec

From: Richard Cochran
Date: Thu Jan 28 2016 - 04:47:30 EST


On Thu, Jan 28, 2016 at 10:27:19AM +0800, Kefeng Wang wrote:
> Convert the driver to use ns_to_timespec64() and timespec64_to_ns()
> instead of open coding the same logic.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
> ---
> drivers/ptp/ptp_ixp46x.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)

Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>