summaryrefslogtreecommitdiff
path: root/drivers/media/usb/uvc/uvc_driver.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-27 16:19:54 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-04 14:36:59 +0300
commit828ee8c719501551d4cdd1ace8425284951dfb82 (patch)
tree0929fc26590ac9b38d314f2aac4cfed7b5bf8eea /drivers/media/usb/uvc/uvc_driver.c
parenta70b8b24e79dc8b4811c3179f8431346e98d1f8c (diff)
downloadlinux-828ee8c719501551d4cdd1ace8425284951dfb82.tar.xz
media: uvcvideo: Use ktime_t for timestamps
uvc_video_get_ts() returns a 'struct timespec', but all its users really want a nanoseconds variable anyway. Changing the deprecated ktime_get_ts/ktime_get_real_ts to ktime_get and ktime_get_real simplifies the code noticeably, while keeping the resulting numbers unchanged. 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>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_driver.c')
0 files changed, 0 insertions, 0 deletions