diff mbox series

staging: media: atomisp: pci: isp2400_input_system_public.h

Message ID 20231222194036.1984-1-kdipendra88@gmail.com
State Accepted
Commit 0596ea5eeb667b3890e827ba5d9b966295fae277
Headers show
Series staging: media: atomisp: pci: isp2400_input_system_public.h | expand

Commit Message

Dipendra Khadka Dec. 22, 2023, 7:40 p.m. UTC
The script checkpatch.pl reported repeadted
word 'of' in isp2400_input_system_public.h
as below:

'''
WARNING: Possible repeated word: 'of'
/*! Read from a control register PORT[port_ID] of of RECEIVER[ID]
'''

This patch removes one 'of'.

Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>
---
 drivers/staging/media/atomisp/pci/isp2400_input_system_public.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hans de Goede Dec. 31, 2023, 9:39 a.m. UTC | #1
Hi,

On 12/22/23 20:40, Dipendra Khadka wrote:
> The script checkpatch.pl reported repeadted
> word 'of' in isp2400_input_system_public.h
> as below:
> 
> '''
> WARNING: Possible repeated word: 'of'
> /*! Read from a control register PORT[port_ID] of of RECEIVER[ID]
> '''
> 
> This patch removes one 'of'.
> 
> Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>

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/pci/isp2400_input_system_public.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h b/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
> index 447c7c5c55a1..523c948923f3 100644
> --- a/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
> +++ b/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
> @@ -163,7 +163,7 @@ STORAGE_CLASS_INPUT_SYSTEM_H void receiver_port_reg_store(
>      const hrt_address			reg,
>      const hrt_data				value);
>  
> -/*! Read from a control register PORT[port_ID] of of RECEIVER[ID]
> +/*! Read from a control register PORT[port_ID] of RECEIVER[ID]
>  
>   \param	ID[in]				RECEIVER identifier
>   \param	port_ID[in]			mipi PORT identifier
diff mbox series

Patch

diff --git a/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h b/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
index 447c7c5c55a1..523c948923f3 100644
--- a/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
+++ b/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
@@ -163,7 +163,7 @@  STORAGE_CLASS_INPUT_SYSTEM_H void receiver_port_reg_store(
     const hrt_address			reg,
     const hrt_data				value);
 
-/*! Read from a control register PORT[port_ID] of of RECEIVER[ID]
+/*! Read from a control register PORT[port_ID] of RECEIVER[ID]
 
  \param	ID[in]				RECEIVER identifier
  \param	port_ID[in]			mipi PORT identifier