]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: nxp-nci: Remove unused macro pr_fmt()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jul 2019 13:35:11 +0000 (16:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 15:56:26 +0000 (08:56 -0700)
commitc99af0244809f15b3863666d9d09cd5377ab64bc
treeb901e39acc6ea16e0b656197985aef31bd7cb5ac
parent78ea9f09bf0556b0bd4dae27e8d0ec3181674eee
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>
drivers/nfc/nxp-nci/i2c.c