[libcamera-devel,3/9] libcamera: device_enumerator: Fix indentation

Message ID 20190103013110.6849-3-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • [libcamera-devel,1/9] libcamera: camera_manager: Remove put() method
Related show

Commit Message

Laurent Pinchart Jan. 3, 2019, 1:31 a.m. UTC
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/libcamera/include/pipeline_handler.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Comments

Niklas Söderlund Jan. 3, 2019, 9:20 p.m. UTC | #1
Hi Laurent,

Thanks for your patch.

On 2019-01-03 03:31:04 +0200, Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

I did not diffed to make sure it's only indentation changes, I do 
however trust you :-)

Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>

> ---
>  src/libcamera/include/pipeline_handler.h | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
> index d70056a165fd..00568c7052c0 100644
> --- a/src/libcamera/include/pipeline_handler.h
> +++ b/src/libcamera/include/pipeline_handler.h
> @@ -45,17 +45,17 @@ private:
>  };
>  
>  #define REGISTER_PIPELINE_HANDLER(handler) \
> -	class handler##Factory : public PipelineHandlerFactory { \
> -	public: \
> -		handler##Factory() \
> -		{ \
> -			PipelineHandlerFactory::registerType(#handler, this); \
> -		} \
> -		virtual PipelineHandler *create() { \
> -			return new handler(); \
> -		} \
> -	}; \
> -	static handler##Factory global_##handler##Factory;
> +class handler##Factory : public PipelineHandlerFactory { \
> +public: \
> +	handler##Factory() \
> +	{ \
> +		PipelineHandlerFactory::registerType(#handler, this); \
> +	} \
> +	virtual PipelineHandler *create() { \
> +		return new handler(); \
> +	} \
> +}; \
> +static handler##Factory global_##handler##Factory;
>  
>  } /* namespace libcamera */
>  
> -- 
> Regards,
> 
> Laurent Pinchart
> 
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel@lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel

Patch

diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
index d70056a165fd..00568c7052c0 100644
--- a/src/libcamera/include/pipeline_handler.h
+++ b/src/libcamera/include/pipeline_handler.h
@@ -45,17 +45,17 @@  private:
 };
 
 #define REGISTER_PIPELINE_HANDLER(handler) \
-	class handler##Factory : public PipelineHandlerFactory { \
-	public: \
-		handler##Factory() \
-		{ \
-			PipelineHandlerFactory::registerType(#handler, this); \
-		} \
-		virtual PipelineHandler *create() { \
-			return new handler(); \
-		} \
-	}; \
-	static handler##Factory global_##handler##Factory;
+class handler##Factory : public PipelineHandlerFactory { \
+public: \
+	handler##Factory() \
+	{ \
+		PipelineHandlerFactory::registerType(#handler, this); \
+	} \
+	virtual PipelineHandler *create() { \
+		return new handler(); \
+	} \
+}; \
+static handler##Factory global_##handler##Factory;
 
 } /* namespace libcamera */