Loading
fpga: bridge: Use standard dev_release for class driver
mainline inclusion from mainline-v5.17-rc1 commit 0d70af3c category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IA7YMH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0d70af3c2530a70f1b2c197feaa63fbd3548ce34 -------------------------------- 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> Conflicts: Documentation/driver-api/fpga/fpga-bridge.rst drivers/fpga/fpga-bridge.c drivers/fpga/xilinx-pr-decoupler.c Signed-off-by:
Ma Wupeng <mawupeng1@huawei.com>