diff options
author | Russ Weight <russell.h.weight@intel.com> | 2021-11-19 02:55:53 +0100 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-11-28 23:02:41 +0100 |
commit | 8886a579744fbfa53e69aa453ed10ae3b1f9abac (patch) | |
tree | 76f7e8e3349ebd0f94e811811ef959f5696b1a37 /kernel/resource_kunit.c | |
parent | fpga: bridge: Use standard dev_release for class driver (diff) | |
download | linux-8886a579744fbfa53e69aa453ed10ae3b1f9abac.tar.xz linux-8886a579744fbfa53e69aa453ed10ae3b1f9abac.zip |
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>
Diffstat (limited to 'kernel/resource_kunit.c')
0 files changed, 0 insertions, 0 deletions