diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-09-13 04:28:43 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-23 20:02:23 -0400 |
commit | cc3faac9d88faebe59556f3754ad306117e53b72 (patch) | |
tree | 8b37574b3cd6c623b3ea670e67b8388193f9be7d /drivers/nfc | |
parent | fc0ae24386142299db14dfea7f32a20022d94d90 (diff) |
NFC: st21nfca: Fix few coding style issue
Fix few conding style issue such as useless line return or tab.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r-- | drivers/nfc/st21nfca/st21nfca_dep.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/nfc/st21nfca/st21nfca_dep.c b/drivers/nfc/st21nfca/st21nfca_dep.c index 6c09a66d9a1d..03dacc6550bc 100644 --- a/drivers/nfc/st21nfca/st21nfca_dep.c +++ b/drivers/nfc/st21nfca/st21nfca_dep.c | |||
@@ -129,9 +129,8 @@ static void st21nfca_tx_work(struct work_struct *work) | |||
129 | device_lock(&dev->dev); | 129 | device_lock(&dev->dev); |
130 | 130 | ||
131 | nfc_hci_send_cmd_async(info->hdev, ST21NFCA_RF_READER_F_GATE, | 131 | nfc_hci_send_cmd_async(info->hdev, ST21NFCA_RF_READER_F_GATE, |
132 | ST21NFCA_WR_XCHG_DATA, | 132 | ST21NFCA_WR_XCHG_DATA, skb->data, skb->len, |
133 | skb->data, skb->len, | 133 | info->async_cb, info); |
134 | info->async_cb, info); | ||
135 | device_unlock(&dev->dev); | 134 | device_unlock(&dev->dev); |
136 | kfree_skb(skb); | 135 | kfree_skb(skb); |
137 | } | 136 | } |
@@ -239,7 +238,6 @@ static int st21nfca_tm_send_psl_res(struct nfc_hci_dev *hdev, | |||
239 | struct st21nfca_psl_res *psl_res; | 238 | struct st21nfca_psl_res *psl_res; |
240 | struct sk_buff *skb; | 239 | struct sk_buff *skb; |
241 | u8 bitrate[2] = {0, 0}; | 240 | u8 bitrate[2] = {0, 0}; |
242 | |||
243 | int r; | 241 | int r; |
244 | 242 | ||
245 | skb = alloc_skb(sizeof(struct st21nfca_psl_res), GFP_KERNEL); | 243 | skb = alloc_skb(sizeof(struct st21nfca_psl_res), GFP_KERNEL); |
@@ -311,7 +309,7 @@ int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb) | |||
311 | *skb_push(skb, 1) = skb->len; | 309 | *skb_push(skb, 1) = skb->len; |
312 | 310 | ||
313 | r = nfc_hci_send_event(hdev, ST21NFCA_RF_CARD_F_GATE, | 311 | r = nfc_hci_send_event(hdev, ST21NFCA_RF_CARD_F_GATE, |
314 | ST21NFCA_EVT_SEND_DATA, skb->data, skb->len); | 312 | ST21NFCA_EVT_SEND_DATA, skb->data, skb->len); |
315 | kfree_skb(skb); | 313 | kfree_skb(skb); |
316 | 314 | ||
317 | return r; | 315 | return r; |