Skip to content

Commit 341466b

Browse files
Russ Weightgregkh
authored andcommitted
fpga: altera-pr-ip: Remove function alt_pr_unregister
Remove the alt_pr_unregister() function; it is no longer used. Signed-off-by: Russ Weight <russell.h.weight@intel.com> Reviewed-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Moritz Fischer <mdf@kernel.org> Link: https://lore.kernel.org/r/20210614170909.232415-2-mdf@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent db4e54a commit 341466b

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

‎drivers/fpga/altera-pr-ip-core.c‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,6 @@ int alt_pr_register(struct device *dev, void __iomem *reg_base)
199199
}
200200
EXPORT_SYMBOL_GPL(alt_pr_register);
201201

202-
void alt_pr_unregister(struct device *dev)
203-
{
204-
struct fpga_manager *mgr = dev_get_drvdata(dev);
205-
206-
dev_dbg(dev, "%s\n", __func__);
207-
208-
fpga_mgr_unregister(mgr);
209-
}
210-
EXPORT_SYMBOL_GPL(alt_pr_unregister);
211-
212202
MODULE_AUTHOR("Matthew Gerlach <matthew.gerlach@linux.intel.com>");
213203
MODULE_DESCRIPTION("Altera Partial Reconfiguration IP Core");
214204
MODULE_LICENSE("GPL v2");

‎include/linux/fpga/altera-pr-ip-core.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
#include <linux/io.h>
1414

1515
int alt_pr_register(struct device *dev, void __iomem *reg_base);
16-
void alt_pr_unregister(struct device *dev);
1716

1817
#endif /* _ALT_PR_IP_CORE_H */

0 commit comments

Comments
 (0)