diff options
author | Tom Rix | 2021-06-25 12:51:46 -0700 |
---|---|---|
committer | Moritz Fischer | 2021-07-24 15:10:31 -0700 |
commit | b02a40713db95ebd8f72151b0fea8080d9f74c27 (patch) | |
tree | 03f2053a8e68225b35793f8c9c37e40df16d1289 /kernel | |
parent | 6f9922711359d2092fb91036193dfed0d1bdf8b8 (diff) |
fpga: fpga-mgr: wrap the state() op
An FPGA manager should not be required to provide a state() op.
Add a wrapper consistent with the other op wrappers.
Move op check to wrapper.
Default to FPGA_MGR_STATE_UNKNOWN, what noop state() ops use.
Remove unneeded noop state() ops
[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 'kernel')
0 files changed, 0 insertions, 0 deletions