]> git.baikalelectronics.ru Git - kernel.git/commit
ide: pmac: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 23 Sep 2013 01:28:11 +0000 (10:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 23:21:25 +0000 (18:21 -0500)
commitcdd85a798a57181e8d5f3ecb2348048977a90471
tree8e53f307fe15d94bd2de7d9a12ce35a622ab1a2f
parent5662acb063afba6c5262363c875a4e40eed1a652
ide: pmac: 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/ide/pmac.c