]> git.baikalelectronics.ru Git - kernel.git/commit
atm: solos-pci: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Dec 2013 03:52:14 +0000 (12:52 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:31:33 +0000 (22:31 -0500)
commit8f59e4967934d83b0e1032c5b69d560d0db7aaab
tree8a0a24243ac2e6e0a78a22296e94196631940a5d
parentff4fb2a0d6ca45848972a53baabf494df9d698b8
atm: solos-pci: remove unnecessary pci_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/solos-pci.c