mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
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>
This commit is contained in:
parent
db4e54aefd
commit
341466b64f
@ -199,16 +199,6 @@ int alt_pr_register(struct device *dev, void __iomem *reg_base)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(alt_pr_register);
|
||||
|
||||
void alt_pr_unregister(struct device *dev)
|
||||
{
|
||||
struct fpga_manager *mgr = dev_get_drvdata(dev);
|
||||
|
||||
dev_dbg(dev, "%s\n", __func__);
|
||||
|
||||
fpga_mgr_unregister(mgr);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(alt_pr_unregister);
|
||||
|
||||
MODULE_AUTHOR("Matthew Gerlach <matthew.gerlach@linux.intel.com>");
|
||||
MODULE_DESCRIPTION("Altera Partial Reconfiguration IP Core");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -13,6 +13,5 @@
|
||||
#include <linux/io.h>
|
||||
|
||||
int alt_pr_register(struct device *dev, void __iomem *reg_base);
|
||||
void alt_pr_unregister(struct device *dev);
|
||||
|
||||
#endif /* _ALT_PR_IP_CORE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user