summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-12-01 01:02:04 +0800
committerAlex Shi <alex.shi@linaro.org>2017-12-01 01:02:04 +0800
commit0f646885c342e74051e3d40acd40af310469526d (patch)
treed584727a1b291b524f5dde014725c53baa02b5f1 /net/nfc
parent00236b01de65d53e3cde74900c7b0be059abcf6b (diff)
parent81ab793d6dcb61c8ca908b442cc7b98be7ffa02c (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/core.c b/net/nfc/core.c
index c5a2c7e733b3..1471e4b0aa2c 100644
--- a/net/nfc/core.c
+++ b/net/nfc/core.c
@@ -1093,7 +1093,7 @@ struct nfc_dev *nfc_allocate_device(struct nfc_ops *ops,
err_free_dev:
kfree(dev);
- return ERR_PTR(rc);
+ return NULL;
}
EXPORT_SYMBOL(nfc_allocate_device);