Commit bda7eb27 authored by Valentin Ilie's avatar Valentin Ilie Committed by Samuel Ortiz

NFC: mei_phy: Clean up file

Fix checkpatch warnings.
Replace __attribute__((__packed__)) with __packed.
Replace spaces with tabs.
Signed-off-by: default avatarValentin Ilie <valentin.ilie@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 4ca546e5
...@@ -30,7 +30,7 @@ struct mei_nfc_hdr { ...@@ -30,7 +30,7 @@ struct mei_nfc_hdr {
u16 req_id; u16 req_id;
u32 reserved; u32 reserved;
u16 data_size; u16 data_size;
} __attribute__((packed)); } __packed;
#define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD) #define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD)
...@@ -60,8 +60,8 @@ int nfc_mei_phy_enable(void *phy_id) ...@@ -60,8 +60,8 @@ int nfc_mei_phy_enable(void *phy_id)
r = mei_cl_enable_device(phy->device); r = mei_cl_enable_device(phy->device);
if (r < 0) { if (r < 0) {
pr_err("MEI_PHY: Could not enable device\n"); pr_err("MEI_PHY: Could not enable device\n");
return r; return r;
} }
r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy);
......
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