diff options
author | Mihai Carabas <mihai.carabas@oracle.com> | 2021-08-19 18:12:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-27 16:22:26 +0200 |
commit | a99009bc4f2f0b46e6c553704fda0b67e04395f5 (patch) | |
tree | 432ae964b9cff943d039b6d79747b9bf846acff1 /drivers/bus/fsl-mc/fsl-mc-bus.c | |
parent | a30dc6cf0dc51419021550152e435736aaef8799 (diff) | |
download | lwn-a99009bc4f2f0b46e6c553704fda0b67e04395f5.tar.gz lwn-a99009bc4f2f0b46e6c553704fda0b67e04395f5.zip |
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: 394febc9d0a6 ("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>
Diffstat (limited to 'drivers/bus/fsl-mc/fsl-mc-bus.c')
0 files changed, 0 insertions, 0 deletions