diff options
author | Joe Perches <joe@perches.com> | 2013-04-05 21:27:39 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-25 01:35:39 +0200 |
commit | 17936b43f0fdede23582d83a45622751409c99b9 (patch) | |
tree | 8ebdbac110d202dc4131165b00d5fd87a5233edc /drivers/nfc/microread/mei.c | |
parent | NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> (diff) | |
download | linux-17936b43f0fdede23582d83a45622751409c99b9.tar.xz linux-17936b43f0fdede23582d83a45622751409c99b9.zip |
NFC: Standardize logging style
Use standardized styles to minimize coding defects.
Always use nfc_<level> where feasible.
Add \n to formats where appropriate.
Typo "it it" correction.
Add #define pr_fmt where appropriate.
Remove function tracing logging messages.
Remove OOM messages.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/microread/mei.c')
-rw-r--r-- | drivers/nfc/microread/mei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/microread/mei.c b/drivers/nfc/microread/mei.c index cdf1bc53b257..72fafec3d460 100644 --- a/drivers/nfc/microread/mei.c +++ b/drivers/nfc/microread/mei.c @@ -18,6 +18,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/nfc.h> @@ -59,8 +61,6 @@ static int microread_mei_remove(struct mei_cl_device *device) { struct nfc_mei_phy *phy = mei_cl_get_drvdata(device); - pr_info("Removing microread\n"); - microread_remove(phy->hdev); nfc_mei_phy_free(phy); |