]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: remove superfluous pci_set_drvdata(pci, NULL)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 13 Jun 2013 15:00:01 +0000 (18:00 +0300)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:11 +0000 (09:54 +0800)
commit7589235aa809fce2c7cc26d96777d849c7778486
tree1d434a87f6033be3a60b1033378ad997b11449a8
parent4cd4f67d1f54a27a5ff1a7fe555889226eda8a65
usb: chipidea: remove superfluous pci_set_drvdata(pci, NULL)

As drvdata is cleared to NULL at probe failure or at removal by the driver
core, we don't have to call pci_set_drvdata(pci, NULL) any longer in each
driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci13xxx_pci.c