summaryrefslogtreecommitdiff
path: root/drivers/base/cacheinfo.c
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2016-10-28 11:45:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-10 19:30:53 +0300
commit8e1073b1ffff5a90c1af75862309c5ed87ef545c (patch)
treea4918059fcb93c4650571087105dbb0dd1551ded /drivers/base/cacheinfo.c
parent55877ef45fbd7f975d078426866b7d1a2435dcc3 (diff)
downloadlinux-8e1073b1ffff5a90c1af75862309c5ed87ef545c.tar.xz
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>