summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-04-30 23:50:29 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-05-21 10:48:41 +0200
commite3a6b14ceda0207c3405c6266e5177a85c0db044 (patch)
treeb084691065908513b0695d0d404edd11d9357f63 /drivers/nfc/pn544
parentNFC: mei_phy: Register event callback when enabling the device (diff)
downloadlinux-e3a6b14ceda0207c3405c6266e5177a85c0db044.tar.xz
linux-e3a6b14ceda0207c3405c6266e5177a85c0db044.zip
NFC: mei: Do not disable MEI devices from their remove routine
Enabling and disabling device is exclusively handled by the mei_phy_ops. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn544')
-rw-r--r--drivers/nfc/pn544/mei.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nfc/pn544/mei.c b/drivers/nfc/pn544/mei.c
index 50cef3a574b5..b5d3d18179eb 100644
--- a/drivers/nfc/pn544/mei.c
+++ b/drivers/nfc/pn544/mei.c
@@ -63,8 +63,6 @@ static int pn544_mei_remove(struct mei_cl_device *device)
pn544_hci_remove(phy->hdev);
- nfc_mei_phy_disable(phy);
-
nfc_mei_phy_free(phy);
return 0;