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/ofpart.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/ofpart.c')
-rw-r--r-- | drivers/mtd/ofpart.c | 4 |
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]); |