Commit 55d705cc authored by Joe Perches's avatar Joe Perches Committed by Guenter Roeck

hwmon: (ibmaem) Use pr_fmt and pr_<level>

Added #define pr_fmt KBUILD_MODNAME ": " fmt
Converted printks to pr_<level>
Coalesced any long formats
Removed prefixes from formats
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent c95df1ae
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/ipmi.h> #include <linux/ipmi.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/hwmon.h> #include <linux/hwmon.h>
...@@ -1090,7 +1092,7 @@ static int __init aem_init(void) ...@@ -1090,7 +1092,7 @@ static int __init aem_init(void)
res = driver_register(&aem_driver.driver); res = driver_register(&aem_driver.driver);
if (res) { if (res) {
printk(KERN_ERR "Can't register aem driver\n"); pr_err("Can't register aem driver\n");
return res; return res;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment