summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ofpart.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-02-17 08:11:37 +0100
committerBrian Norris <computersforpeace@gmail.com>2017-04-19 22:10:54 +0200
commite8348dc554f108f603101bc49ff897f0c9313c23 (patch)
tree945b68ad52bea37dfca7f16d742d5cd61b610690 /drivers/mtd/ofpart.c
parentmtd: physmap_of: really fix the physmap add-ons (diff)
downloadlinux-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/ofpart.c')
-rw-r--r--drivers/mtd/ofpart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ofpart.c b/drivers/mtd/ofpart.c
index 464470122493..2861c7079d7b 100644
--- a/drivers/mtd/ofpart.c
+++ b/drivers/mtd/ofpart.c
@@ -166,8 +166,8 @@ static int parse_ofoldpart_partitions(struct mtd_info *master,
if (!part)
return 0; /* No partitions found */
- pr_warning("Device tree uses obsolete partition map binding: %s\n",
- dp->full_name);
+ pr_warn("Device tree uses obsolete partition map binding: %s\n",
+ dp->full_name);
nr_parts = plen / sizeof(part[0]);