aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2021-07-25 20:08:06 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 18:46:03 +0200
commit9bb3a9dddbf1ca6e062464f790a6a18052d63a4a (patch)
treecccb9fb58f3809ec04e7e9b8e7905cae64a1a905 /drivers/fpga
parentMerge tag 'fpga-for-5.15-early' of git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga into char-misc-next (diff)
downloadlinux-dev-9bb3a9dddbf1ca6e062464f790a6a18052d63a4a.tar.xz
linux-dev-9bb3a9dddbf1ca6e062464f790a6a18052d63a4a.zip
fpga: versal-fpga: Remove empty functions
Since the core framework now wraps the functions, ensuring drives only have to implement functions that do something, drop the now no longer required callbacks for state and write_complete. Signed-off-by: Moritz Fischer <mdf@kernel.org> Link: https://lore.kernel.org/r/20210726030806.714809-1-mdf@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/versal-fpga.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/fpga/versal-fpga.c b/drivers/fpga/versal-fpga.c
index 1bd312a31b23..5b0dda304bd2 100644
--- a/drivers/fpga/versal-fpga.c
+++ b/drivers/fpga/versal-fpga.c
@@ -37,22 +37,9 @@ static int versal_fpga_ops_write(struct fpga_manager *mgr,
return ret;
}
-static int versal_fpga_ops_write_complete(struct fpga_manager *mgr,
- struct fpga_image_info *info)
-{
- return 0;
-}
-
-static enum fpga_mgr_states versal_fpga_ops_state(struct fpga_manager *mgr)
-{
- return FPGA_MGR_STATE_UNKNOWN;
-}
-
static const struct fpga_manager_ops versal_fpga_ops = {
- .state = versal_fpga_ops_state,
.write_init = versal_fpga_ops_write_init,
.write = versal_fpga_ops_write,
- .write_complete = versal_fpga_ops_write_complete,
};
static int versal_fpga_probe(struct platform_device *pdev)