From: Andy Shevchenko Date: Wed, 22 Mar 2017 19:22:51 +0000 (+0200) Subject: NFC: Add nfc_dbg() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2891f2d5c13b7386331250d59920bdf8a54bfccb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git NFC: Add nfc_dbg() macro In some cases nfc_dbg() is useful. Add such macro to a header. Signed-off-by: Andy Shevchenko Signed-off-by: Samuel Ortiz --- 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 #include +#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__)