linux/drivers/media/usb/uvc
zhong jiang 7ae5308190 media: uvcvideo: Use DIV_ROUND_CLOSEST directly to make it readable
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
but is perhaps more readable.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-27 10:19:29 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: uvcvideo: Add a metadata device node 2018-01-04 06:41:47 -05:00
uvc_ctrl.c media: uvcvideo: Use DIV_ROUND_CLOSEST directly to make it readable 2020-11-27 10:19:29 +01:00
uvc_debugfs.c media: usb: uvc: no need to check return value of debugfs_create functions 2020-09-26 10:15:17 +02:00
uvc_driver.c media: uvcvideo: Convey full colorspace information to V4L2 2020-09-10 14:06:27 +02:00
uvc_entity.c media: uvcvideo: Set media controller entity functions 2020-09-10 14:06:27 +02:00
uvc_isight.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
uvc_metadata.c media: uvcvideo: Fix a typo in UVC_METATADA_BUF_SIZE 2019-10-16 16:34:34 -03:00
uvc_queue.c media: uvcvideo: Fix a typo in UVC_METATADA_BUF_SIZE 2019-10-16 16:34:34 -03:00
uvc_status.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
uvc_v4l2.c media: uvcvideo: Convey full colorspace information to V4L2 2020-09-10 14:06:27 +02:00
uvc_video.c media: uvcvideo: Fix annotation for uvc_video_clock_update() 2020-09-10 14:06:27 +02:00
uvcvideo.h media: uvcvideo: Convey full colorspace information to V4L2 2020-09-10 14:06:27 +02:00