From b0ba863dca145192be7869206f9e1d1f83ffa85f Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Fri, 28 Mar 2014 14:16:37 +0000 Subject: [PATCH] UBUNTU: SAUCE: battery: quieten the battery charging messages by default Shift the battery charging messages et al from KERN_NOTICE to KERN_DEBUG to reduce log noise. BugLink: http://bugs.launchpad.net/bugs/1270248 Signed-off-by: Andy Whitcroft --- drivers/power/bq27541_battery.c | 2 +- include/linux/smb345-charger.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/bq27541_battery.c b/drivers/power/bq27541_battery.c index d8af1da1758..435c3217cec 100644 --- a/drivers/power/bq27541_battery.c +++ b/drivers/power/bq27541_battery.c @@ -60,7 +60,7 @@ /* Debug Message */ #define BAT_NOTICE(format, arg...) \ - printk(KERN_NOTICE "%s " format , __FUNCTION__ , ## arg) + printk(KERN_DEBUG "%s " format , __FUNCTION__ , ## arg) #define BAT_ERR(format, arg...) \ printk(KERN_ERR format , ## arg) diff --git a/include/linux/smb345-charger.h b/include/linux/smb345-charger.h index 06db47f60db..a9781760382 100644 --- a/include/linux/smb345-charger.h +++ b/include/linux/smb345-charger.h @@ -18,7 +18,7 @@ #endif #define SMB_NOTICE(format, arg...) \ - printk(KERN_NOTICE "smb345_charger: [%s] " format , __func__ , ## arg) + printk(KERN_DEBUG "smb345_charger: [%s] " format , __func__ , ## arg) #define SMB_ERR(format, arg...) \ printk(KERN_ERR "smb345_charger: [%s] " format , __func__ , ## arg)