summaryrefslogtreecommitdiffstats
path: root/drivers/base/cacheinfo.c
diff options
context:
space:
mode:
authorSudeep Holla2016-10-28 10:45:30 +0200
committerGreg Kroah-Hartman2016-11-10 17:30:53 +0100
commit8e1073b1ffff5a90c1af75862309c5ed87ef545c (patch)
treea4918059fcb93c4650571087105dbb0dd1551ded /drivers/base/cacheinfo.c
parentdrivers: base: cacheinfo: fix boot error message when acpi is enabled (diff)
downloadkernel-qcow2-linux-8e1073b1ffff5a90c1af75862309c5ed87ef545c.tar.gz
kernel-qcow2-linux-8e1073b1ffff5a90c1af75862309c5ed87ef545c.tar.xz
kernel-qcow2-linux-8e1073b1ffff5a90c1af75862309c5ed87ef545c.zip
drivers: base: cacheinfo: add pr_fmt logging
This cleanup patch just adds pr_fmt style logging for cacheinfo. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/cacheinfo.c')
-rw-r--r--drivers/base/cacheinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c
index 70e13cf06ed0..f19d50bd8925 100644
--- a/drivers/base/cacheinfo.c
+++ b/drivers/base/cacheinfo.c
@@ -16,6 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/acpi.h>
#include <linux/bitops.h>
#include <linux/cacheinfo.h>