projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180106b
)
NFC: nfcwilink: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 09:00:40 +0000
(14:30 +0530)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 25 Sep 2013 00:02:37 +0000
(
02:02
+0200)
Driver core sets driver data to NULL upon failure or remove.
Cc: Ilan Elias <ilane@ti.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcwilink.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/nfcwilink.c
b/drivers/nfc/nfcwilink.c
index 0c79921b3870191e69796bc7e05f9fae3a897fc8..71308645593f638a2879df4348f1349f0e031ce4 100644
(file)
--- a/
drivers/nfc/nfcwilink.c
+++ b/
drivers/nfc/nfcwilink.c
@@
-559,8
+559,6
@@
static int nfcwilink_remove(struct platform_device *pdev)
nci_unregister_device(ndev);
nci_free_device(ndev);
- dev_set_drvdata(&pdev->dev, NULL);
-
return 0;
}