diff options
author | Valentin Ilie <valentin.ilie@gmail.com> | 2013-06-07 15:01:55 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-14 07:45:11 -0400 |
commit | bda7eb27635c4d7414fb05a5f55501b71f436cc0 (patch) | |
tree | bae391b67d242d52c5632c45b8886bfad3367c4b /drivers/nfc/mei_phy.c | |
parent | 4ca546e5545b7345b69e9331ecd53a1e4c6f7fe1 (diff) |
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>
Diffstat (limited to 'drivers/nfc/mei_phy.c')
-rw-r--r-- | drivers/nfc/mei_phy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/nfc/mei_phy.c b/drivers/nfc/mei_phy.c index 1201bdbfb791..606bf55e76ec 100644 --- a/drivers/nfc/mei_phy.c +++ b/drivers/nfc/mei_phy.c | |||
@@ -30,7 +30,7 @@ struct mei_nfc_hdr { | |||
30 | u16 req_id; | 30 | u16 req_id; |
31 | u32 reserved; | 31 | u32 reserved; |
32 | u16 data_size; | 32 | u16 data_size; |
33 | } __attribute__((packed)); | 33 | } __packed; |
34 | 34 | ||
35 | #define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD) | 35 | #define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD) |
36 | 36 | ||
@@ -60,8 +60,8 @@ int nfc_mei_phy_enable(void *phy_id) | |||
60 | 60 | ||
61 | r = mei_cl_enable_device(phy->device); | 61 | r = mei_cl_enable_device(phy->device); |
62 | if (r < 0) { | 62 | if (r < 0) { |
63 | pr_err("MEI_PHY: Could not enable device\n"); | 63 | pr_err("MEI_PHY: Could not enable device\n"); |
64 | return r; | 64 | return r; |
65 | } | 65 | } |
66 | 66 | ||
67 | r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); | 67 | r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); |