linux-stable/include/linux/fpga
Russ Weight 4ba0b2c294 fpga: mgr: Use standard dev_release for class driver
The FPGA manager class driver data structure is being treated as a
managed resource instead of using the standard dev_release call-back
function to release the class data structure. This change removes
the managed resource code for the freeing of the class data structure
and combines the create() and register() functions into a single
register() or register_full() function.

The register_full() function accepts an info data structure to provide
flexibility in passing optional parameters. The register() function
supports the current parameter list for users that don't require the
use of optional parameters.

The devm_fpga_mgr_register() function is retained, and the
devm_fpga_mgr_register_full() function is added.

Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
2021-11-28 13:59:13 -08:00
..
adi-axi-common.h
altera-pr-ip-core.h fpga: altera-pr-ip: Remove function alt_pr_unregister 2021-06-15 09:27:35 +02:00
fpga-bridge.h fpga: bridge: change FPGA indirect article to an 2021-06-09 14:51:25 +02:00
fpga-mgr.h fpga: mgr: Use standard dev_release for class driver 2021-11-28 13:59:13 -08:00
fpga-region.h