diff options
| author | Tom Rix <trix@redhat.com> | 2021-06-25 12:51:44 -0700 |
|---|---|---|
| committer | Moritz Fischer <mdf@kernel.org> | 2021-07-24 15:10:31 -0700 |
| commit | 8ebab40fd8f1683140890a77fadf571db98686b8 (patch) | |
| tree | 9aa518859ca4bc1e736097a2f3c0ad66c5bd34bb /drivers/fpga/ts73xx-fpga.c | |
| parent | fpga: fpga-mgr: make write_complete() op optional (diff) | |
| download | linux-8ebab40fd8f1683140890a77fadf571db98686b8.tar.gz 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/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions
