[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1570632925-14926-1-git-send-email-zhongjiang@huawei.com>
Date: Wed, 9 Oct 2019 22:55:21 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: <mchehab@...nel.org>, <sean@...s.org>, <hansverk@...co.com>,
<daniel.vetter@...ll.ch>
CC: <linux-media@...r.kernel.org>, <zhongjiang@...wei.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/4] media: Use DIV_ROUND_CLOSEST directly
With the help of Coccinelle. I find some place that DIV_ROUND_CLOSEST
can replace it directly.
v1->v2:
patch 1: remove mt312_div() to use the DIV_ROUND_CLOSEST directly.
zhong jiang (4):
media: dvb-frontends: Use DIV_ROUND_CLOSEST directly to make it
readable
media: tuners/qm1d1c0042: Use DIV_ROUND_CLOSEST directly to make it
readable
media: uvcvideo: Use DIV_ROUND_CLOSEST directly to make it readable
media: v4l2-dv-timings: Use DIV_ROUND_CLOSEST directly to make it
readable
drivers/media/dvb-frontends/mt312.c | 14 +++++---------
drivers/media/tuners/qm1d1c0042.c | 2 +-
drivers/media/usb/uvc/uvc_ctrl.c | 4 ++--
drivers/media/v4l2-core/v4l2-dv-timings.c | 2 +-
4 files changed, 9 insertions(+), 13 deletions(-)
--
1.7.12.4
Powered by blists - more mailing lists