diff options
author | Mihai Carabas <[email protected]> | 2021-08-19 18:12:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-27 16:22:26 +0200 |
commit | a99009bc4f2f0b46e6c553704fda0b67e04395f5 (patch) | |
tree | 432ae964b9cff943d039b6d79747b9bf846acff1 /drivers/fpga/zynq-fpga.c | |
parent | a30dc6cf0dc51419021550152e435736aaef8799 (diff) |
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 <[email protected]>
Signed-off-by: Mihai Carabas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions