mei.c (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) mei.c (bf5c9cc8ad7fffd1f72df3baa5870449e4c16d1b)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 *
5 * HCI based Driver for Inside Secure microread NFC Chip
6 */
7
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

--- 30 unchanged lines hidden (view full) ---

39 nfc_mei_phy_free(phy);
40
41 return r;
42 }
43
44 return 0;
45}
46
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 *
5 * HCI based Driver for Inside Secure microread NFC Chip
6 */
7
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

--- 30 unchanged lines hidden (view full) ---

39 nfc_mei_phy_free(phy);
40
41 return r;
42 }
43
44 return 0;
45}
46
47static int microread_mei_remove(struct mei_cl_device *cldev)
47static void microread_mei_remove(struct mei_cl_device *cldev)
48{
49 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev);
50
51 microread_remove(phy->hdev);
52
53 nfc_mei_phy_free(phy);
48{
49 struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev);
50
51 microread_remove(phy->hdev);
52
53 nfc_mei_phy_free(phy);
54
55 return 0;
56}
57
58static struct mei_cl_device_id microread_mei_tbl[] = {
59 { MICROREAD_DRIVER_NAME, MEI_NFC_UUID, MEI_CL_VERSION_ANY},
60
61 /* required last entry */
62 { }
63};

--- 14 unchanged lines hidden ---
54}
55
56static struct mei_cl_device_id microread_mei_tbl[] = {
57 { MICROREAD_DRIVER_NAME, MEI_NFC_UUID, MEI_CL_VERSION_ANY},
58
59 /* required last entry */
60 { }
61};

--- 14 unchanged lines hidden ---