]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: i2c: imx219: Inline imx219_update_pad_format() in its caller
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Aug 2023 23:40:28 +0000 (02:40 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 16 Jan 2026 13:08:53 +0000 (14:08 +0100)
commit59b9548e50d2c5ea4209733f919a35675cd78f28
tree4c955a473282fc77a15698425926a060e8e49445
parent0b216f7f172bfa10281dd2e7ef57292415b41849
media: i2c: imx219: Inline imx219_update_pad_format() in its caller

The imx219_update_pad_format() is short and called from a single place,
in imx219_set_pad_format(). Inline the code in the caller to keep all
format adjustments grouped in a single place and improve readability.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/imx219.c