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>
This commit is contained in:
parent
fc0ae24386
commit
cc3faac9d8
|
@ -129,9 +129,8 @@ static void st21nfca_tx_work(struct work_struct *work)
|
||||||
device_lock(&dev->dev);
|
device_lock(&dev->dev);
|
||||||
|
|
||||||
nfc_hci_send_cmd_async(info->hdev, ST21NFCA_RF_READER_F_GATE,
|
nfc_hci_send_cmd_async(info->hdev, ST21NFCA_RF_READER_F_GATE,
|
||||||
ST21NFCA_WR_XCHG_DATA,
|
ST21NFCA_WR_XCHG_DATA, skb->data, skb->len,
|
||||||
skb->data, skb->len,
|
info->async_cb, info);
|
||||||
info->async_cb, info);
|
|
||||||
device_unlock(&dev->dev);
|
device_unlock(&dev->dev);
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
}
|
}
|
||||||
|
@ -239,7 +238,6 @@ static int st21nfca_tm_send_psl_res(struct nfc_hci_dev *hdev,
|
||||||
struct st21nfca_psl_res *psl_res;
|
struct st21nfca_psl_res *psl_res;
|
||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
u8 bitrate[2] = {0, 0};
|
u8 bitrate[2] = {0, 0};
|
||||||
|
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
skb = alloc_skb(sizeof(struct st21nfca_psl_res), GFP_KERNEL);
|
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)
|
||||||
*skb_push(skb, 1) = skb->len;
|
*skb_push(skb, 1) = skb->len;
|
||||||
|
|
||||||
r = nfc_hci_send_event(hdev, ST21NFCA_RF_CARD_F_GATE,
|
r = nfc_hci_send_event(hdev, ST21NFCA_RF_CARD_F_GATE,
|
||||||
ST21NFCA_EVT_SEND_DATA, skb->data, skb->len);
|
ST21NFCA_EVT_SEND_DATA, skb->data, skb->len);
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in New Issue