fpga: fpga-mgr: wrap the fpga_remove() op
authorTom Rix <trix@redhat.com>
Fri, 25 Jun 2021 19:51:47 +0000 (12:51 -0700)
committerMoritz Fischer <mdf@kernel.org>
Sat, 24 Jul 2021 22:10:31 +0000 (15:10 -0700)
commit6489d3b00398f02457eea566d4a99698c68cc89f
treec0926bf8e6daa135d24f04baf8e29774e77c71d2
parentb02a40713db95ebd8f72151b0fea8080d9f74c27
fpga: fpga-mgr: wrap the fpga_remove() op

An FPGA manager is not required to provide a fpga_remove() op.
Add a wrapper consistent with the other op wrappers.
Move op check to wrapper.

[mdf@kernel.org: Reworded first line]
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
drivers/fpga/fpga-mgr.c