summaryrefslogtreecommitdiff
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAlan Tull <atull@opensource.altera.com>2015-10-22 20:38:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 02:49:44 +0300
commit654ba4cc0f3ed7c0f08bfb39f66059d8c42943ee (patch)
tree0afa1399bea345e12cf72ffac476190f27562275 /fs/pnode.c
parent4d10eaff5bfc69997a769f9c83b749f0a8c542fa (diff)
downloadlinux-654ba4cc0f3ed7c0f08bfb39f66059d8c42943ee.tar.xz
fpga manager: ensure lifetime with of_fpga_mgr_get
Ensure device and driver lifetime from of_fpga_mgr_get() to fpga_mgr_put(). * Don't put_device() in of_fpga_mgr_get, do it in fpga_mgr_put(). (still do put_device if there is an error). * Do module_get on the low level driver. * Don't need to module_get(THIS_MODULE) since we won't be allowed to unload the fpga manager core without unloading low level driver first. * Remove unnedessary null check for node pointer. Signed-off-by: Alan Tull <atull@opensource.altera.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions