diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-29 16:35:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-29 08:56:26 -0700 |
commit | 3b11dc5712c30cf56b73e9f67a815e7c728c67be (patch) | |
tree | b901e39acc6ea16e0b656197985aef31bd7cb5ac /drivers/nfc/nxp-nci/i2c.c | |
parent | 41bd9cee8a68b61743e096ac92a82de1c88f96be (diff) |
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@linux.intel.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/nxp-nci/i2c.c')
-rw-r--r-- | drivers/nfc/nxp-nci/i2c.c | 2 |
1 files changed, 0 insertions, 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> |