2023-10-14 08:36:48

by Jonathan Bergh

[permalink] [raw]
Subject: [PATCH] staging: media: atomisp: Removed duplicate comment and fixed comment format

Fixed the following issues:
* Removed a duplicate comment
* Fixed up minor comment format issue

Signed-off-by: Jonathan Bergh <[email protected]>
---
drivers/staging/media/atomisp/i2c/gc2235.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/staging/media/atomisp/i2c/gc2235.h b/drivers/staging/media/atomisp/i2c/gc2235.h
index 55ea422291ba..ade28950db73 100644
--- a/drivers/staging/media/atomisp/i2c/gc2235.h
+++ b/drivers/staging/media/atomisp/i2c/gc2235.h
@@ -74,9 +74,6 @@
#define GC2235_COARSE_INTG_TIME_MIN 1
#define GC2235_COARSE_INTG_TIME_MAX_MARGIN 6

-/*
- * GC2235 System control registers
- */
/*
* GC2235 System control registers
*/
@@ -167,7 +164,7 @@ enum gc2235_tok_type {
GC2235_TOK_MASK = 0xfff0
};

-/**
+/*
* struct gc2235_reg - MI sensor register format
* @type: type of the register
* @reg: 8-bit offset to register
--
2.34.1


2023-12-31 09:38:29

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] staging: media: atomisp: Removed duplicate comment and fixed comment format

Hi,

On 10/14/23 10:35, Jonathan Bergh wrote:
> Fixed the following issues:
> * Removed a duplicate comment
> * Fixed up minor comment format issue
>
> Signed-off-by: Jonathan Bergh <[email protected]>

Thank you for your patch.

I have merged this in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And this patch will be included in my next
pull-request to Mauro (to media subsystem maintainer)

Regards,

Hans



> ---
> drivers/staging/media/atomisp/i2c/gc2235.h | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/staging/media/atomisp/i2c/gc2235.h b/drivers/staging/media/atomisp/i2c/gc2235.h
> index 55ea422291ba..ade28950db73 100644
> --- a/drivers/staging/media/atomisp/i2c/gc2235.h
> +++ b/drivers/staging/media/atomisp/i2c/gc2235.h
> @@ -74,9 +74,6 @@
> #define GC2235_COARSE_INTG_TIME_MIN 1
> #define GC2235_COARSE_INTG_TIME_MAX_MARGIN 6
>
> -/*
> - * GC2235 System control registers
> - */
> /*
> * GC2235 System control registers
> */
> @@ -167,7 +164,7 @@ enum gc2235_tok_type {
> GC2235_TOK_MASK = 0xfff0
> };
>
> -/**
> +/*
> * struct gc2235_reg - MI sensor register format
> * @type: type of the register
> * @reg: 8-bit offset to register