WSL2-Linux-Kernel/Documentation/driver-api/fpga
Russ Weight 8886a57974 fpga: region: Use standard dev_release for class driver
The FPGA region 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 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.

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 14:02:41 -08:00
..
fpga-bridge.rst fpga: bridge: Use standard dev_release for class driver 2021-11-28 14:02:13 -08:00
fpga-mgr.rst fpga: mgr: Use standard dev_release for class driver 2021-11-28 13:59:13 -08:00
fpga-programming.rst docs: driver-api: fpga: avoid using UTF-8 chars 2021-07-21 19:54:21 -07:00
fpga-region.rst fpga: region: Use standard dev_release for class driver 2021-11-28 14:02:41 -08:00
index.rst docs: fpga: document programming fpgas using regions 2018-10-16 11:13:50 +02:00
intro.rst docs: fpga: document programming fpgas using regions 2018-10-16 11:13:50 +02:00