summaryrefslogtreecommitdiff
path: root/scripts/pnmtologo.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-27 08:19:54 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-04 06:36:59 -0500
commit828ee8c719501551d4cdd1ace8425284951dfb82 (patch)
tree0929fc26590ac9b38d314f2aac4cfed7b5bf8eea /scripts/pnmtologo.c
parenta70b8b24e79dc8b4811c3179f8431346e98d1f8c (diff)
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 'scripts/pnmtologo.c')
0 files changed, 0 insertions, 0 deletions