summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/cmx270_nand.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-02-17 10:11:37 +0300
committerBrian Norris <computersforpeace@gmail.com>2017-04-19 23:10:54 +0300
commite8348dc554f108f603101bc49ff897f0c9313c23 (patch)
tree945b68ad52bea37dfca7f16d742d5cd61b610690 /drivers/mtd/nand/cmx270_nand.c
parent8c925b263584e5a37244297ea9bd072020265fd4 (diff)
downloadlinux-e8348dc554f108f603101bc49ff897f0c9313c23.tar.xz
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.c4
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;
}