diff options
author | Joe Perches <joe@perches.com> | 2017-02-17 08:11:37 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-04-19 22:10:54 +0200 |
commit | e8348dc554f108f603101bc49ff897f0c9313c23 (patch) | |
tree | 945b68ad52bea37dfca7f16d742d5cd61b610690 /drivers/mtd/nand/cmx270_nand.c | |
parent | mtd: physmap_of: really fix the physmap add-ons (diff) | |
download | linux-e8348dc554f108f603101bc49ff897f0c9313c23.tar.xz linux-e8348dc554f108f603101bc49ff897f0c9313c23.zip |
drivers/mtd: Convert remaining uses of pr_warning to pr_warn
To enable eventual removal of pr_warning
This makes pr_warn use consistent for drivers/mtd
Prior to this patch, there were 7 uses of pr_warning and
31 uses of pr_warn in drivers/mtd
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/cmx270_nand.c')
-rw-r--r-- | drivers/mtd/nand/cmx270_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c index 226ac0bcafc6..949b9400dcb7 100644 --- a/drivers/mtd/nand/cmx270_nand.c +++ b/drivers/mtd/nand/cmx270_nand.c @@ -145,7 +145,7 @@ static int __init cmx270_init(void) ret = gpio_request(GPIO_NAND_CS, "NAND CS"); if (ret) { - pr_warning("CM-X270: failed to request NAND CS gpio\n"); + pr_warn("CM-X270: failed to request NAND CS gpio\n"); return ret; } @@ -153,7 +153,7 @@ static int __init cmx270_init(void) ret = gpio_request(GPIO_NAND_RB, "NAND R/B"); if (ret) { - pr_warning("CM-X270: failed to request NAND R/B gpio\n"); + pr_warn("CM-X270: failed to request NAND R/B gpio\n"); goto err_gpio_request; } |