media: uvcvideo: Use ktime_t for stats
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Nov 2017 13:19:53 +0000 (08:19 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 4 Jan 2018 11:36:27 +0000 (06:36 -0500)
commita70b8b24e79dc8b4811c3179f8431346e98d1f8c
treea01a5c887511814686000192cb38b05309885c76
parent6f0e5fd39143a59c22d60e7befc4f33f22aeed2f
media: uvcvideo: Use ktime_t for stats

'struct timespec' works fine here, but we try to migrate
away from it in favor of ktime_t or timespec64. In this
case, using ktime_t produces the simplest code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_video.c
drivers/media/usb/uvc/uvcvideo.h