WSL2-Linux-Kernel/drivers/misc/pvpanic
Mihai Carabas a99009bc4f misc/pvpanic: fix set driver data
Add again dev_set_drvdata(), but this time in devm_pvpanic_probe(), in order
for dev_get_drvdata() to not return NULL.

Fixes: 394febc9d0 ("misc/pvpanic: Make 'pvpanic_probe()' resource managed")
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Link: https://lore.kernel.org/r/1629385946-4584-2-git-send-email-mihai.carabas@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-27 16:22:26 +02:00
..
Kconfig misc/pvpanic: add PCI driver 2021-03-28 14:57:11 +02:00
Makefile misc/pvpanic: add PCI driver 2021-03-28 14:57:11 +02:00
pvpanic-mmio.c misc/pvpanic: Make 'pvpanic_probe()' resource managed 2021-05-27 14:46:57 +02:00
pvpanic-pci.c misc/pvpanic-pci: Allow automatic loading 2021-07-21 14:57:58 +02:00
pvpanic.c misc/pvpanic: fix set driver data 2021-08-27 16:22:26 +02:00
pvpanic.h misc/pvpanic: Make 'pvpanic_probe()' resource managed 2021-05-27 14:46:57 +02:00