diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-03-22 22:22:51 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-04-05 11:15:20 +0300 |
commit | 2891f2d5c13b7386331250d59920bdf8a54bfccb (patch) | |
tree | 682df16ff9738d32357d73dbf18593ca515869ce /include/net/nfc | |
parent | 3267183c3d1a6612c00961d7334413f9976c751a (diff) | |
download | linux-2891f2d5c13b7386331250d59920bdf8a54bfccb.tar.xz |
NFC: Add nfc_dbg() macro
In some cases nfc_dbg() is useful. Add such macro to a header.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r-- | include/net/nfc/nfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h index 1a3de8b34ad2..bbdc73a3239d 100644 --- a/include/net/nfc/nfc.h +++ b/include/net/nfc/nfc.h @@ -27,6 +27,7 @@ #include <linux/device.h> #include <linux/skbuff.h> +#define nfc_dbg(dev, fmt, ...) dev_dbg((dev), "NFC: " fmt, ##__VA_ARGS__) #define nfc_info(dev, fmt, ...) dev_info((dev), "NFC: " fmt, ##__VA_ARGS__) #define nfc_err(dev, fmt, ...) dev_err((dev), "NFC: " fmt, ##__VA_ARGS__) |