projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e94f3
)
sata_dwc_460ex: remove redundant dev_set_drvdata
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 7 Jan 2015 13:24:20 +0000
(15:24 +0200)
committer
Tejun Heo
<tj@kernel.org>
Thu, 8 Jan 2015 13:26:53 +0000
(08:26 -0500)
Driver core sets it to NULL upon probe failure or release.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/sata_dwc_460ex.c
b/drivers/ata/sata_dwc_460ex.c
index 8e8248179d20577cf83d0270e324d1a867554554..5c343955814422e303c65a291d911e34841777ab 100644
(file)
--- a/
drivers/ata/sata_dwc_460ex.c
+++ b/
drivers/ata/sata_dwc_460ex.c
@@
-1783,7
+1783,6
@@
static int sata_dwc_remove(struct platform_device *ofdev)
struct sata_dwc_device *hsdev = host->private_data;
ata_host_detach(host);
- dev_set_drvdata(dev, NULL);
/* Free SATA DMA resources */
dma_dwc_exit(hsdev);