NFC: Small nfc_hci_create_pipe refactoring
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 4 Oct 2012 13:15:48 +0000 (15:15 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 26 Oct 2012 16:26:48 +0000 (18:26 +0200)
commit80e4232ecbc96d01465aee132081daaa2c82e859
tree038569689ee44b541b668d7f81f3db031706fe9f
parent36b05114d137838508ff132ef33c799a02727e1f
NFC: Small nfc_hci_create_pipe refactoring

Check for error and return if any. This makes it easier to see what is
a 'positive' function flow.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/hci/command.c