summaryrefslogtreecommitdiff
path: root/drivers/nfc/microread/mei.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-05-01 01:50:29 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-05-21 12:48:41 +0400
commite3a6b14ceda0207c3405c6266e5177a85c0db044 (patch)
treeb084691065908513b0695d0d404edd11d9357f63 /drivers/nfc/microread/mei.c
parent73f3adb9b91efac04e4e7f8379a85400fc57121e (diff)
downloadlinux-e3a6b14ceda0207c3405c6266e5177a85c0db044.tar.xz
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/microread/mei.c')
-rw-r--r--drivers/nfc/microread/mei.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nfc/microread/mei.c b/drivers/nfc/microread/mei.c
index 51d44fb18be9..cdf1bc53b257 100644
--- a/drivers/nfc/microread/mei.c
+++ b/drivers/nfc/microread/mei.c
@@ -63,8 +63,6 @@ static int microread_mei_remove(struct mei_cl_device *device)
microread_remove(phy->hdev);
- nfc_mei_phy_disable(phy);
-
nfc_mei_phy_free(phy);
return 0;