]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fpga: bridge: Use standard dev_release for class driver
authorRuss Weight <russell.h.weight@intel.com>
Fri, 19 Nov 2021 01:55:52 +0000 (17:55 -0800)
committerMoritz Fischer <mdf@kernel.org>
Sun, 28 Nov 2021 22:02:13 +0000 (14:02 -0800)
commit0d70af3c2530a70f1b2c197feaa63fbd3548ce34
tree59c77d021df097a8d8fc8129661d2b1533e222d8
parent4ba0b2c294fe691921271372f7b59e5cc2ce4b0f
fpga: bridge: Use standard dev_release for class driver

The FPGA bridge 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() function.

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>
Documentation/driver-api/fpga/fpga-bridge.rst
drivers/fpga/altera-fpga2sdram.c
drivers/fpga/altera-freeze-bridge.c
drivers/fpga/altera-hps2fpga.c
drivers/fpga/dfl-fme-br.c
drivers/fpga/fpga-bridge.c
drivers/fpga/xilinx-pr-decoupler.c
include/linux/fpga/fpga-bridge.h