[PATCH] m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar"

hexingwei001@208suo.com posted 1 patch 2 years, 7 months ago
arch/m68k/coldfire/dma_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar"
Posted by hexingwei001@208suo.com 2 years, 7 months ago
Fix one occurrences of the checkpatch.pl error:
ERROR: "foo __init  bar" should be "foo __init bar"

Signed-off-by: Xingwei He <hexingwei001@208suo.com>
---
  arch/m68k/coldfire/dma_timer.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/coldfire/dma_timer.c 
b/arch/m68k/coldfire/dma_timer.c
index cbb289439606..91e6728f51ed 100644
--- a/arch/m68k/coldfire/dma_timer.c
+++ b/arch/m68k/coldfire/dma_timer.c
@@ -48,7 +48,7 @@ static struct clocksource clocksource_cf_dt = {
      .flags        = CLOCK_SOURCE_IS_CONTINUOUS,
  };

-static int __init  init_cf_dt_clocksource(void)
+static int __init init_cf_dt_clocksource(void)
  {
      /*
       * We setup DMA timer 0 in free run mode. This incrementing counter 
is
Re: [PATCH] m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar"
Posted by Greg Ungerer 2 years, 6 months ago
Hi Xingwei He,

On 13/7/23 18:39, hexingwei001@208suo.com wrote:
> Fix one occurrences of the checkpatch.pl error:
> ERROR: "foo __init  bar" should be "foo __init bar"
> 
> Signed-off-by: Xingwei He <hexingwei001@208suo.com>

Thanks. Applied to m68knommu git tree, for-next branch.

Regards
Greg



> ---
>   arch/m68k/coldfire/dma_timer.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/m68k/coldfire/dma_timer.c b/arch/m68k/coldfire/dma_timer.c
> index cbb289439606..91e6728f51ed 100644
> --- a/arch/m68k/coldfire/dma_timer.c
> +++ b/arch/m68k/coldfire/dma_timer.c
> @@ -48,7 +48,7 @@ static struct clocksource clocksource_cf_dt = {
>       .flags        = CLOCK_SOURCE_IS_CONTINUOUS,
>   };
> 
> -static int __init  init_cf_dt_clocksource(void)
> +static int __init init_cf_dt_clocksource(void)
>   {
>       /*
>        * We setup DMA timer 0 in free run mode. This incrementing counter is