All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: atomisp: fix indentation in atomisp_cmd.c
@ 2026-03-01 21:11 Oskar Ray-Frayssinet
  2026-04-18  8:33 ` Sakari Ailus
  0 siblings, 1 reply; 2+ messages in thread
From: Oskar Ray-Frayssinet @ 2026-03-01 21:11 UTC (permalink / raw)
  To: hansg, gregkh; +Cc: linux-staging, linux-media, 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 <rayfraytech@gmail.com>
---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 5bc1541b1e40..9d22ec27ea76 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -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;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: atomisp: fix indentation in atomisp_cmd.c
  2026-03-01 21:11 [PATCH] staging: atomisp: fix indentation in atomisp_cmd.c Oskar Ray-Frayssinet
@ 2026-04-18  8:33 ` Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2026-04-18  8:33 UTC (permalink / raw)
  To: Oskar Ray-Frayssinet; +Cc: hansg, gregkh, linux-staging, linux-media

Hi Oskar,

Thanks for the patch.

On Sun, Mar 01, 2026 at 10:11:42PM +0100, Oskar Ray-Frayssinet wrote:
> Fix incorrect spaces at the start of lines in function
> parameter lists, replacing them with proper tab indentation.
> 
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
> ---
>  drivers/staging/media/atomisp/pci/atomisp_cmd.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> index 5bc1541b1e40..9d22ec27ea76 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> @@ -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.

>  {
>  	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;

-- 
Regards,

Sakari Ailus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-18  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-01 21:11 [PATCH] staging: atomisp: fix indentation in atomisp_cmd.c Oskar Ray-Frayssinet
2026-04-18  8:33 ` Sakari Ailus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.