diff options
author | Tom Rix <trix@redhat.com> | 2021-06-25 21:51:45 +0200 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-07-25 00:10:31 +0200 |
commit | 6f9922711359d2092fb91036193dfed0d1bdf8b8 (patch) | |
tree | 3399a191b3f305f3f475d2c512d493f48dd578c4 /drivers/fpga/stratix10-soc.c | |
parent | fpga: fpga-mgr: wrap the write() op (diff) | |
download | linux-6f9922711359d2092fb91036193dfed0d1bdf8b8.tar.xz linux-6f9922711359d2092fb91036193dfed0d1bdf8b8.zip |
fpga: fpga-mgr: wrap the status() op
An FPGA manager is not required to provide a status() op.
Add a wrapper consistent with the other op wrappers.
Move the op check to the wrapper.
Default to 0, no errors to report.
[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/stratix10-soc.c')
0 files changed, 0 insertions, 0 deletions