diff options
author | Tom Rix <trix@redhat.com> | 2021-06-25 22:51:42 +0300 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-07-25 01:10:30 +0300 |
commit | 2e8438b754abcf13f2306237bd0bfe6e7dcb379a (patch) | |
tree | c50a451147b623c95c2c2afe1b906976b4c1889c /drivers/fpga/dfl-fme-perf.c | |
parent | 6f125e87184ea5f8ad677c2cc4a9c9c6e717554b (diff) | |
download | linux-2e8438b754abcf13f2306237bd0bfe6e7dcb379a.tar.xz |
fpga: fpga-mgr: wrap the write_init() op
An FPGA manager should not be required to provide a
write_init() op if there is nothing for it do.
So add a wrapper and move the op checking.
Default to success.
[mdf@kernel.org: Reworded first line]
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/fpga/dfl-fme-perf.c')
0 files changed, 0 insertions, 0 deletions