Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@
 * 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/module.h>
#include <linux/hwmon.h>
@@ -1090,7 +1092,7 @@ static int __init aem_init(void)

	res = driver_register(&aem_driver.driver);
	if (res) {
		printk(KERN_ERR "Can't register aem driver\n");
		pr_err("Can't register aem driver\n");
		return res;
	}