Skip to content

Commit

Permalink
NFC: mei: Do not disable MEI devices from their remove routine
Browse files Browse the repository at this point in the history
Enabling and disabling device is exclusively handled by the mei_phy_ops.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Samuel Ortiz committed May 21, 2013
1 parent 73f3adb commit e3a6b14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/nfc/microread/mei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions drivers/nfc/pn544/mei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e3a6b14

Please sign in to comment.