diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 13:00:40 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-25 04:02:37 +0400 |
commit | 4b7449cdf4280298d65afd4921b5030fc93a19a1 (patch) | |
tree | a3ec23213aa539393d3c723db6630f3795e9fc97 /drivers/nfc/nfcwilink.c | |
parent | 180106bd074aad4b00a0dc6a6fc414c386a27195 (diff) | |
download | linux-4b7449cdf4280298d65afd4921b5030fc93a19a1.tar.xz |
NFC: nfcwilink: Remove redundant dev_set_drvdata
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>
Diffstat (limited to 'drivers/nfc/nfcwilink.c')
-rw-r--r-- | drivers/nfc/nfcwilink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nfc/nfcwilink.c b/drivers/nfc/nfcwilink.c index 0c79921b3870..71308645593f 100644 --- 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; } |