[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190729133514.13164-12-andriy.shevchenko@linux.intel.com>
Date: Mon, 29 Jul 2019 16:35:11 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Clément Perrochaud
<clement.perrochaud@...innov.com>,
Charles Gorand <charles.gorand@...innov.com>,
netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Sedat Dilek <sedat.dilek@...dativ.de>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Sedat Dilek <sedat.dilek@...il.com>
Subject: [PATCH v4 11/14] NFC: nxp-nci: Remove unused macro pr_fmt()
The macro had never been used.
The driver uses mostly the nfc_err(), which, with other macros in the family,
is backed by corresponding dev_err(). pr_fmt() is not used for dev_err()
macro. Moreover, there is no need to print the module name which is part of the
device instance name anyway.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Tested-by: Sedat Dilek <sedat.dilek@...il.com>
---
drivers/nfc/nxp-nci/i2c.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
index 59b0a02a813d..307bd2afbe05 100644
--- a/drivers/nfc/nxp-nci/i2c.c
+++ b/drivers/nfc/nxp-nci/i2c.c
@@ -12,8 +12,6 @@
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
#include <linux/acpi.h>
#include <linux/delay.h>
#include <linux/i2c.h>
--
2.20.1
Powered by blists - more mailing lists