Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFC: mei_phy: Clean up file

Fix checkpatch warnings.
Replace __attribute__((__packed__)) with __packed.
Replace spaces with tabs.

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Valentin Ilie and committed by
Samuel Ortiz
bda7eb27 4ca546e5

+3 -3
+3 -3
drivers/nfc/mei_phy.c
··· 30 30 u16 req_id; 31 31 u32 reserved; 32 32 u16 data_size; 33 - } __attribute__((packed)); 33 + } __packed; 34 34 35 35 #define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD) 36 36 ··· 60 60 61 61 r = mei_cl_enable_device(phy->device); 62 62 if (r < 0) { 63 - pr_err("MEI_PHY: Could not enable device\n"); 64 - return r; 63 + pr_err("MEI_PHY: Could not enable device\n"); 64 + return r; 65 65 } 66 66 67 67 r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy);