Commit e3a6b14c authored by Samuel Ortiz's avatar Samuel Ortiz

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: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 73f3adb9
...@@ -63,8 +63,6 @@ static int microread_mei_remove(struct mei_cl_device *device) ...@@ -63,8 +63,6 @@ static int microread_mei_remove(struct mei_cl_device *device)
microread_remove(phy->hdev); microread_remove(phy->hdev);
nfc_mei_phy_disable(phy);
nfc_mei_phy_free(phy); nfc_mei_phy_free(phy);
return 0; return 0;
......
...@@ -63,8 +63,6 @@ static int pn544_mei_remove(struct mei_cl_device *device) ...@@ -63,8 +63,6 @@ static int pn544_mei_remove(struct mei_cl_device *device)
pn544_hci_remove(phy->hdev); pn544_hci_remove(phy->hdev);
nfc_mei_phy_disable(phy);
nfc_mei_phy_free(phy); nfc_mei_phy_free(phy);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment