Commit f95cb3dd authored by Ankit Baluni's avatar Ankit Baluni Committed by Mauro Carvalho Chehab

media: atomisp: fixed a brace coding sytle issue

Removed braces for a 'if' condition as it contain only single line &
there is no need for braces for such case according to coding style
rules.
Signed-off-by: default avatarAnkit Baluni <b18007@students.iitmandi.ac.in>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 53975388
...@@ -4981,9 +4981,8 @@ enum mipi_port_id __get_mipi_port(struct atomisp_device *isp, ...@@ -4981,9 +4981,8 @@ enum mipi_port_id __get_mipi_port(struct atomisp_device *isp,
case ATOMISP_CAMERA_PORT_SECONDARY: case ATOMISP_CAMERA_PORT_SECONDARY:
return MIPI_PORT1_ID; return MIPI_PORT1_ID;
case ATOMISP_CAMERA_PORT_TERTIARY: case ATOMISP_CAMERA_PORT_TERTIARY:
if (MIPI_PORT1_ID + 1 != N_MIPI_PORT_ID) { if (MIPI_PORT1_ID + 1 != N_MIPI_PORT_ID)
return MIPI_PORT1_ID + 1; return MIPI_PORT1_ID + 1;
}
/* fall through */ /* fall through */
default: default:
dev_err(isp->dev, "unsupported port: %d\n", port); dev_err(isp->dev, "unsupported port: %d\n", port);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment