Re: [PATCH v3 2/5] media: omap3isp: fix indentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tomi,

Thank you for the patch.

On Thu, Jun 10, 2021 at 12:49:00PM +0300, Tomi Valkeinen wrote:
> Fix a few indentation warnings from checkpatch.
> 
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>

Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

> ---
>  drivers/media/platform/omap3isp/ispccp2.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/media/platform/omap3isp/ispccp2.c b/drivers/media/platform/omap3isp/ispccp2.c
> index 366da6fb8b4f..acb58b6ddba1 100644
> --- a/drivers/media/platform/omap3isp/ispccp2.c
> +++ b/drivers/media/platform/omap3isp/ispccp2.c
> @@ -619,8 +619,8 @@ static const unsigned int ccp2_fmts[] = {
>   */
>  static struct v4l2_mbus_framefmt *
>  __ccp2_get_format(struct isp_ccp2_device *ccp2,
> -		     struct v4l2_subdev_state *sd_state,
> -		     unsigned int pad, enum v4l2_subdev_format_whence which)
> +		  struct v4l2_subdev_state *sd_state,
> +		  unsigned int pad, enum v4l2_subdev_format_whence which)
>  {
>  	if (which == V4L2_SUBDEV_FORMAT_TRY)
>  		return v4l2_subdev_get_try_format(&ccp2->subdev, sd_state,
> @@ -708,7 +708,7 @@ static int ccp2_enum_mbus_code(struct v4l2_subdev *sd,
>  			return -EINVAL;
>  
>  		format = __ccp2_get_format(ccp2, sd_state, CCP2_PAD_SINK,
> -					      code->which);
> +					   code->which);
>  		code->code = format->code;
>  	}
>  
> @@ -753,8 +753,8 @@ static int ccp2_enum_frame_size(struct v4l2_subdev *sd,
>   * return -EINVAL or zero on success
>   */
>  static int ccp2_get_format(struct v4l2_subdev *sd,
> -			      struct v4l2_subdev_state *sd_state,
> -			      struct v4l2_subdev_format *fmt)
> +			   struct v4l2_subdev_state *sd_state,
> +			   struct v4l2_subdev_format *fmt)
>  {
>  	struct isp_ccp2_device *ccp2 = v4l2_get_subdevdata(sd);
>  	struct v4l2_mbus_framefmt *format;
> @@ -775,8 +775,8 @@ static int ccp2_get_format(struct v4l2_subdev *sd,
>   * returns zero
>   */
>  static int ccp2_set_format(struct v4l2_subdev *sd,
> -			      struct v4l2_subdev_state *sd_state,
> -			      struct v4l2_subdev_format *fmt)
> +			   struct v4l2_subdev_state *sd_state,
> +			   struct v4l2_subdev_format *fmt)
>  {
>  	struct isp_ccp2_device *ccp2 = v4l2_get_subdevdata(sd);
>  	struct v4l2_mbus_framefmt *format;

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux