diff options
| author | 2019-10-09 16:55:24 +0200 | |
|---|---|---|
| committer | 2020-11-27 10:19:29 +0100 | |
| commit | 7ae53081901b52cebfdd5b39b373abaac5d1d4ef (patch) | |
| tree | 780c82cd89af1b34bbbd05443067b483d5816304 /include | |
| parent | media: imx214: Fix stop streaming (diff) | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
