]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: vgxy61: Replace nested min() with single min3()
authorQasim Ijaz <qasdev00@gmail.com>
Tue, 25 Feb 2025 12:59:37 +0000 (12:59 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 12:35:32 +0000 (13:35 +0100)
commitab936836ec09fa23954e8e5785d71a41e5ee8bcb
tree78972599f1df44eb5bd6627b4aa99839518247ec
parent5de9a5165fa71ef5e8bcbb35fdd97466d72dee6d
media: vgxy61: Replace nested min() with single min3()

Use min3() macro instead of nesting min() to simplify the return
statement.

Signed-off-by: Qasim Ijaz <qasdev00@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/vgxy61.c