aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2021-06-25 12:51:44 -0700
committerMoritz Fischer <mdf@kernel.org>2021-07-24 15:10:31 -0700
commit8ebab40fd8f1683140890a77fadf571db98686b8 (patch)
tree9aa518859ca4bc1e736097a2f3c0ad66c5bd34bb /drivers/fpga/xilinx-spi.c
parent72d935020ea81c0092c23b580352fe1310505c28 (diff)
downloadlinux-8ebab40fd8f1683140890a77fadf571db98686b8.tar.gz
linux-8ebab40fd8f1683140890a77fadf571db98686b8.tar.bz2
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/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions