linux-stable/drivers/fpga
Alan Tull 654ba4cc0f 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>
2015-10-23 16:49:44 -07:00
..
fpga-mgr.c fpga manager: ensure lifetime with of_fpga_mgr_get 2015-10-23 16:49:44 -07:00
Kconfig fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000 2015-10-17 21:57:16 -07:00
Makefile fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000 2015-10-17 21:57:16 -07:00
socfpga.c
zynq-fpga.c fpga: zynq-fpga: Change fw format to handle bin instead of bit. 2015-10-23 16:49:12 -07:00