summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/debugfs.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-02-11 13:52:47 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-02-11 21:44:17 -0800
commitb427572ebff3abba436a9ae45db73c78fa3ddcf8 (patch)
tree76bcbb92c3cc9fd9441b2b617cb29b950cd7b1fb /drivers/staging/greybus/debugfs.c
parenta0b5542df26b6d2fccb611c05ea1cb266456b60c (diff)
downloadlinux-b427572ebff3abba436a9ae45db73c78fa3ddcf8.tar.gz
linux-b427572ebff3abba436a9ae45db73c78fa3ddcf8.tar.bz2
linux-b427572ebff3abba436a9ae45db73c78fa3ddcf8.zip
greybus: core: add device prefix to error messages
Use dev_err and dev_warn where appropriate and remove now unused pr_fmt defines. Testing Done: Tested on DB3.5 with the generic bridge firmware on APB2. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/debugfs.c')
-rw-r--r--drivers/staging/greybus/debugfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/debugfs.c b/drivers/staging/greybus/debugfs.c
index 725565de5d43..a9d4d3da99a0 100644
--- a/drivers/staging/greybus/debugfs.c
+++ b/drivers/staging/greybus/debugfs.c
@@ -7,8 +7,6 @@
* Released under the GPLv2 only.
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
#include <linux/debugfs.h>
#include "greybus.h"