summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/microread
diff options
context:
space:
mode:
authorSamuel Ortiz2013-04-30 23:50:29 +0200
committerSamuel Ortiz2013-05-21 10:48:41 +0200
commite3a6b14ceda0207c3405c6266e5177a85c0db044 (patch)
treeb084691065908513b0695d0d404edd11d9357f63 /drivers/nfc/microread
parentNFC: mei_phy: Register event callback when enabling the device (diff)
downloadkernel-qcow2-linux-e3a6b14ceda0207c3405c6266e5177a85c0db044.tar.gz
kernel-qcow2-linux-e3a6b14ceda0207c3405c6266e5177a85c0db044.tar.xz
kernel-qcow2-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/microread')
-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;