projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a508db8
)
[media] pci: saa7164: Remove redundant pci_set_drvdata
author
Sachin Kamat
<
[email protected]
>
Fri, 20 Sep 2013 08:36:19 +0000
(
05:36
-0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Thu, 17 Oct 2013 09:03:39 +0000
(06:03 -0300)
Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/pci/saa7164/saa7164-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/saa7164/saa7164-core.c
b/drivers/media/pci/saa7164/saa7164-core.c
index d37ee37aaefe5e4b681f402842cc33c49ddd8cb6..41adf260d13b07566ae428fca344aa1d91d62c91 100644
(file)
--- a/
drivers/media/pci/saa7164/saa7164-core.c
+++ b/
drivers/media/pci/saa7164/saa7164-core.c
@@
-1439,7
+1439,6
@@
static void saa7164_finidev(struct pci_dev *pci_dev)
/* unregister stuff */
free_irq(pci_dev->irq, dev);
- pci_set_drvdata(pci_dev, NULL);
mutex_lock(&devlist);
list_del(&dev->devlist);