]> git.baikalelectronics.ru Git - kernel.git/commit
ptp_ocp: do not call pci_set_drvdata(pdev, NULL)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 Jun 2022 12:03:57 +0000 (15:03 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 15:36:08 +0000 (08:36 -0700)
commitc4376e3246a4452311f73d45d583f567650ca7ee
treebfce23da43d126f3805cce348bc5f976566bdf35
parentd92975d180fa727210a3e492854ba36e9eb17141
ptp_ocp: do not call pci_set_drvdata(pdev, NULL)

Cleaning up driver data is actually already handled by driver core,
so there is no need to do it manually.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Vadim Fedorenko <vfedorenko@novek.ru>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c