OSDN Git Service

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)
commit109744c7cff0320790f3afa60bebe05994be9ec3
tree8a0a24243ac2e6e0a78a22296e94196631940a5d
parent57c5bca9f4f8d0be378a115c5ed939bd43932f8e
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