]> git.baikalelectronics.ru Git - kernel.git/commit
fpga: fpga-mgr: make write_complete() op optional
authorTom Rix <trix@redhat.com>
Fri, 25 Jun 2021 19:51:43 +0000 (12:51 -0700)
committerMoritz Fischer <mdf@kernel.org>
Sat, 24 Jul 2021 22:10:30 +0000 (15:10 -0700)
commit0e2dbebcd1a6d8924b3200820c4ee60cfc4e2a0e
tree8d129de0b66a3d02b7ed8c57ac76cbbfe98258e7
parent6c2e9d669474559ac4916bf19c45f33f699ccdb4
fpga: fpga-mgr: make write_complete() op optional

An FPGA manager should not be required to provide a
write_complete function if there is nothing.  Move
the op check to the existing wrapper.
Default to success and remove noop function.

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