Patchwork [3/6] mtd: bcm47xxnflash: fix message

login
register
mail settings
Submitter Hauke Mehrtens
Date Jan. 24, 2013, 4:39 p.m.
Message ID <1359045599-1305-4-git-send-email-hauke@hauke-m.de>
Download mbox | patch
Permalink /patch/215439/
State New
Headers show

Comments

Hauke Mehrtens - Jan. 24, 2013, 4:39 p.m.
This is not a serial flash driver, but a nand flash driver

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 drivers/mtd/nand/bcm47xxnflash/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Rafał Miłecki - Jan. 25, 2013, 12:21 p.m.
2013/1/24 Hauke Mehrtens <hauke@hauke-m.de>:
> This is not a serial flash driver, but a nand flash driver
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> ---
>  drivers/mtd/nand/bcm47xxnflash/main.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/bcm47xxnflash/main.c b/drivers/mtd/nand/bcm47xxnflash/main.c
> index 8363a9a..616b56a 100644
> --- a/drivers/mtd/nand/bcm47xxnflash/main.c
> +++ b/drivers/mtd/nand/bcm47xxnflash/main.c
> @@ -94,7 +94,7 @@ static int __init bcm47xxnflash_init(void)
>          */
>         err = platform_driver_probe(&bcm47xxnflash_driver, bcm47xxnflash_probe);
>         if (err)
> -               pr_err("Failed to register serial flash driver: %d\n", err);
> +               pr_err("Failed to register bcm47xx nand flash driver: %d\n", err);

WARNING:LONG_LINE: line over 80 characters

Patch

diff --git a/drivers/mtd/nand/bcm47xxnflash/main.c b/drivers/mtd/nand/bcm47xxnflash/main.c
index 8363a9a..616b56a 100644
--- a/drivers/mtd/nand/bcm47xxnflash/main.c
+++ b/drivers/mtd/nand/bcm47xxnflash/main.c
@@ -94,7 +94,7 @@  static int __init bcm47xxnflash_init(void)
 	 */
 	err = platform_driver_probe(&bcm47xxnflash_driver, bcm47xxnflash_probe);
 	if (err)
-		pr_err("Failed to register serial flash driver: %d\n", err);
+		pr_err("Failed to register bcm47xx nand flash driver: %d\n", err);
 
 	return err;
 }