mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
media: i2c: imx290: Match kernel coding style on whitespace
Fix up a couple of coding style issues regarding missing blank lines after declarations, double blank lines, and incorrect indentation. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
8bb19dd7e1
commit
9a78e93721
1 changed files with 4 additions and 5 deletions
|
@ -109,7 +109,6 @@
|
|||
|
||||
#define IMX290_VMAX_DEFAULT 1125
|
||||
|
||||
|
||||
/*
|
||||
* The IMX290 pixel array is organized as follows:
|
||||
*
|
||||
|
@ -353,6 +352,7 @@ static const s64 imx290_link_freq_2lanes[] = {
|
|||
[FREQ_INDEX_1080P] = 445500000,
|
||||
[FREQ_INDEX_720P] = 297000000,
|
||||
};
|
||||
|
||||
static const s64 imx290_link_freq_4lanes[] = {
|
||||
[FREQ_INDEX_1080P] = 222750000,
|
||||
[FREQ_INDEX_720P] = 148500000,
|
||||
|
@ -777,8 +777,7 @@ static int imx290_start_streaming(struct imx290 *imx290,
|
|||
|
||||
/* Set init register settings */
|
||||
ret = imx290_set_register_array(imx290, imx290_global_init_settings,
|
||||
ARRAY_SIZE(
|
||||
imx290_global_init_settings));
|
||||
ARRAY_SIZE(imx290_global_init_settings));
|
||||
if (ret < 0) {
|
||||
dev_err(imx290->dev, "Could not set init registers\n");
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue