diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-05-05 14:45:24 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 14:11:51 +0100 |
| commit | 7c5dfb2d912c005285682508447585c15aa7b765 (patch) | |
| tree | fdace4f563515442647a96858513600a80061d4f /tools/perf/scripts/python | |
| parent | aa8db3adc7b2e4be80294bfcbbb20097dee76af6 (diff) | |
| download | linux-7c5dfb2d912c005285682508447585c15aa7b765.tar.gz linux-7c5dfb2d912c005285682508447585c15aa7b765.zip | |
media: uvcvideo: Use clamp() to replace manual implementation
The kernel has a nice clamp() macro, use it to replace a manual
implementation based on min() and max(). No functional change is
intended.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
