diff mbox

[v5,2/9] ARM: davinci: devices-da8xx.c: change pr_warning() to pr_warn()

Message ID 1357863807-380-3-git-send-email-rtivy@ti.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Tivy, Robert Jan. 11, 2013, 12:23 a.m. UTC
Changed all pr_warning() calls to pr_warn(), as advised by checkpatch.pl.

Signed-off-by: Robert Tivy <rtivy@ti.com>
---
Clean up files that will be otherwise modified in subsequent patch.

 arch/arm/mach-davinci/devices-da8xx.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Sekhar Nori Jan. 17, 2013, 7:47 a.m. UTC | #1
On 1/11/2013 5:53 AM, Robert Tivy wrote:
> Changed all pr_warning() calls to pr_warn(), as advised by checkpatch.pl.
> 
> Signed-off-by: Robert Tivy <rtivy@ti.com>
> ---
> Clean up files that will be otherwise modified in subsequent patch.
> 
>  arch/arm/mach-davinci/devices-da8xx.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
> index 2d5502d..fb2f51b 100644
> --- a/arch/arm/mach-davinci/devices-da8xx.c
> +++ b/arch/arm/mach-davinci/devices-da8xx.c
> @@ -751,7 +751,7 @@ void __iomem * __init da8xx_get_mem_ctlr(void)
>  
>  	da8xx_ddr2_ctlr_base = ioremap(DA8XX_DDR2_CTL_BASE, SZ_32K);
>  	if (!da8xx_ddr2_ctlr_base)
> -		pr_warning("%s: Unable to map DDR2 controller",	__func__);
> +		pr_warn("%s: Unable to map DDR2 controller", __func__);
>  
>  	return da8xx_ddr2_ctlr_base;
>  }

> @@ -876,8 +876,8 @@ int __init da8xx_register_spi(int instance, const struct spi_board_info *info,
>  
>  	ret = spi_register_board_info(info, len);
>  	if (ret)
> -		pr_warning("%s: failed to register board info for spi %d :"
> -			   " %d\n", __func__, instance, ret);
> +		pr_warn("%s: failed to register board info for spi %d : %d\n",
> +			__func__, instance, ret);

This part is not required anymore since this is already fixed by Vivien
Didelot as part of his SPI fixes. I applied rest of the patch for v3.9.
As with previous patch, I fixed the past tense to present in commit text
while applying.

Thanks,
Sekhar
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index 2d5502d..fb2f51b 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -751,7 +751,7 @@  void __iomem * __init da8xx_get_mem_ctlr(void)
 
 	da8xx_ddr2_ctlr_base = ioremap(DA8XX_DDR2_CTL_BASE, SZ_32K);
 	if (!da8xx_ddr2_ctlr_base)
-		pr_warning("%s: Unable to map DDR2 controller",	__func__);
+		pr_warn("%s: Unable to map DDR2 controller", __func__);
 
 	return da8xx_ddr2_ctlr_base;
 }
@@ -876,8 +876,8 @@  int __init da8xx_register_spi(int instance, const struct spi_board_info *info,
 
 	ret = spi_register_board_info(info, len);
 	if (ret)
-		pr_warning("%s: failed to register board info for spi %d :"
-			   " %d\n", __func__, instance, ret);
+		pr_warn("%s: failed to register board info for spi %d : %d\n",
+			__func__, instance, ret);
 
 	da8xx_spi_pdata[instance].num_chipselect = len;