diff options
Diffstat (limited to 'drivers/nfc/mei_phy.c')
-rw-r--r-- | drivers/nfc/mei_phy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/nfc/mei_phy.c b/drivers/nfc/mei_phy.c index 606bf55e76ec..85f90090cc1d 100644 --- a/drivers/nfc/mei_phy.c +++ b/drivers/nfc/mei_phy.c | |||
@@ -18,6 +18,8 @@ | |||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
22 | |||
21 | #include <linux/module.h> | 23 | #include <linux/module.h> |
22 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
23 | #include <linux/nfc.h> | 25 | #include <linux/nfc.h> |
@@ -60,13 +62,13 @@ int nfc_mei_phy_enable(void *phy_id) | |||
60 | 62 | ||
61 | r = mei_cl_enable_device(phy->device); | 63 | r = mei_cl_enable_device(phy->device); |
62 | if (r < 0) { | 64 | if (r < 0) { |
63 | pr_err("MEI_PHY: Could not enable device\n"); | 65 | pr_err("Could not enable device\n"); |
64 | return r; | 66 | return r; |
65 | } | 67 | } |
66 | 68 | ||
67 | r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); | 69 | r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); |
68 | if (r) { | 70 | if (r) { |
69 | pr_err("MEY_PHY: Event cb registration failed\n"); | 71 | pr_err("Event cb registration failed\n"); |
70 | mei_cl_disable_device(phy->device); | 72 | mei_cl_disable_device(phy->device); |
71 | phy->powered = 0; | 73 | phy->powered = 0; |
72 | 74 | ||