staging: atomisp: fix indentation in atomisp_cmd.c
Subsystems (4)
PATCH 1/1 staging: atomisp: fix indentation in atomisp_cmd.c
Fix incorrect spaces at the start of lines in function parameter lists, replacing them with proper tab indentation.
Signed-off-by Oskar Ray-Frayssinet <[email protected]>
--- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +7 -7
@@ -1888,8 +1888,8 @@ int atomisp_calculate_real_zoom_region(struct atomisp_sub_device *asd,* Function to check the zoom region whether is effective */ static bool atomisp_check_zoom_region ( -struct atomisp_sub_device *asd, -struct ia_css_dz_config *dz_config) +struct atomisp_sub_device *asd, +struct ia_css_dz_config *dz_config) {struct atomisp_resolution config;bool flag = false;
@@ -1923,8 +1923,8 @@ static bool atomisp_check_zoom_region( }void atomisp_apply_css_parameters ( -struct atomisp_sub_device *asd, -struct atomisp_css_params *css_param) +struct atomisp_sub_device *asd, +struct atomisp_css_params *css_param) {if (css_param->update_flag.wb_config) asd->params.config.wb_config = &css_param->wb_config;
@@ -3897,9 +3897,9 @@ enum mipi_port_id atomisp_port_to_mipi_port(struct atomisp_device *isp, }static inline int atomisp_set_sensor_mipi_to_isp ( -struct atomisp_sub_device *asd, -enum atomisp_input_stream_id stream_id, -struct camera_mipi_info *mipi_info) +struct atomisp_sub_device *asd, +enum atomisp_input_stream_id stream_id, +struct camera_mipi_info *mipi_info) {struct v4l2_control ctrl;struct atomisp_device *isp = asd->isp;
Signature · 1 line
2.43.0
Hi Oskar,
Thanks for the patch.
Quoted 13 lines · Oskar Ray-Frayssinet
Fix incorrect spaces at the start of lines in function parameter lists, replacing them with proper tab indentation.
Signed-off-by Oskar Ray-Frayssinet <[email protected]>--- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)drivers/staging/media/atomisp/pci/atomisp_cmd.c +0
-0
drivers/staging/media/atomisp/pci/atomisp_cmd.c int atomisp_calculate_real_zoom_region(struct atomisp_sub_device *asd, · line 1892
Quoted 7 lines
drivers/staging/media/atomisp/pci/atomisp_cmd.c +2
-2@@ -1888,8 +1888,8 @@ int atomisp_calculate_real_zoom_region(struct atomisp_sub_device *asd,* Function to check the zoom region whether is effective */ static bool atomisp_check_zoom_region ( -struct atomisp_sub_device *asd, -struct ia_css_dz_config *dz_config) +struct atomisp_sub_device *asd, +struct ia_css_dz_config *dz_config)
There's more room for improvement here. Same for the rest.
Quoted 27 lines
drivers/staging/media/atomisp/pci/atomisp_cmd.c +5
-5{struct atomisp_resolution config;bool flag = false;@@ -1923,8 +1923,8 @@ static bool atomisp_check_zoom_region( }void atomisp_apply_css_parameters ( -struct atomisp_sub_device *asd, -struct atomisp_css_params *css_param) +struct atomisp_sub_device *asd, +struct atomisp_css_params *css_param) {if (css_param->update_flag.wb_config) asd->params.config.wb_config = &css_param->wb_config;@@ -3897,9 +3897,9 @@ enum mipi_port_id atomisp_port_to_mipi_port(struct atomisp_device *isp, }static inline int atomisp_set_sensor_mipi_to_isp ( -struct atomisp_sub_device *asd, -enum atomisp_input_stream_id stream_id, -struct camera_mipi_info *mipi_info) +struct atomisp_sub_device *asd, +enum atomisp_input_stream_id stream_id, +struct camera_mipi_info *mipi_info) {struct v4l2_control ctrl;struct atomisp_device *isp = asd->isp;
Signature · 3 lines
Regards, Sakari Ailus