diff options
author | Tom Rix <trix@redhat.com> | 2021-06-25 21:51:44 +0200 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-07-25 00:10:31 +0200 |
commit | 8ebab40fd8f1683140890a77fadf571db98686b8 (patch) | |
tree | 9aa518859ca4bc1e736097a2f3c0ad66c5bd34bb /drivers/fpga/dfl-afu-main.c | |
parent | fpga: fpga-mgr: make write_complete() op optional (diff) | |
download | linux-8ebab40fd8f1683140890a77fadf571db98686b8.tar.xz linux-8ebab40fd8f1683140890a77fadf571db98686b8.zip |
fpga: fpga-mgr: wrap the write() op
An FPGA manager should not be required to provide a
write function. Move the op check to the wrapper.
Default to -EOPNOTSUP so its users will fail
gracefully.
[mdf@kernel.org: Reworded message]
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/fpga/dfl-afu-main.c')
0 files changed, 0 insertions, 0 deletions