浏览代码

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>
Samuel Ortiz 12 年之前
父节点
当前提交
e3a6b14ced
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      drivers/nfc/microread/mei.c
  2. 0 2
      drivers/nfc/pn544/mei.c

+ 0 - 2
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;

+ 0 - 2
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;