fpga: mgr: add devm_fpga_mgr_create
authorAlan Tull <atull@kernel.org>
Mon, 15 Oct 2018 22:20:01 +0000 (17:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Oct 2018 09:13:50 +0000 (11:13 +0200)
commit084181fe8cc7472695b907f0018f4cd00934cb12
tree812b6c10de92d91bccfdec2da621abacc2745c4d
parent1c87dc897b8c8ace3aa4480fa29ef6439dabb3ab
fpga: mgr: add devm_fpga_mgr_create

Add devm_fpga_mgr_create() which is the managed
version of fpga_mgr_create().

Change current FPGA manager drivers to use
devm_fpga_mgr_create()

Signed-off-by: Alan Tull <atull@kernel.org>
Suggested-by: Federico Vaga <federico.vaga@cern.ch>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 files changed:
Documentation/driver-api/fpga/fpga-mgr.rst
drivers/fpga/altera-cvp.c
drivers/fpga/altera-pr-ip-core.c
drivers/fpga/altera-ps-spi.c
drivers/fpga/dfl-fme-mgr.c
drivers/fpga/fpga-mgr.c
drivers/fpga/ice40-spi.c
drivers/fpga/machxo2-spi.c
drivers/fpga/socfpga-a10.c
drivers/fpga/socfpga.c
drivers/fpga/ts73xx-fpga.c
drivers/fpga/xilinx-spi.c
drivers/fpga/zynq-fpga.c
include/linux/fpga/fpga-mgr.h