[PATCH 28/35] drivers/rapidio: Convert remaining use of pr_warning to pr_warn
From: Joe Perches
Date: Fri Feb 17 2017 - 02:14:07 EST
To enable eventual removal of pr_warning
This makes pr_warn use consistent for drivers/rapidio
Prior to this patch, there was 1 use of pr_warning and
2 uses of pr_warn in drivers/rapidio
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/rapidio/rio-sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/rapidio/rio-sysfs.c b/drivers/rapidio/rio-sysfs.c
index eda41563d06d..945c4b1d9717 100644
--- a/drivers/rapidio/rio-sysfs.c
+++ b/drivers/rapidio/rio-sysfs.c
@@ -278,8 +278,8 @@ int rio_create_sysfs_dev_files(struct rio_dev *rdev)
}
if (err)
- pr_warning("RIO: Failed to create attribute file(s) for %s\n",
- rio_name(rdev));
+ pr_warn("RIO: Failed to create attribute file(s) for %s\n",
+ rio_name(rdev));
return err;
}
--
2.10.0.rc2.1.g053435c