]> Git Repo - linux.git/blobdiff - drivers/fpga/of-fpga-region.c
x86/kaslr: Expose and use the end of the physical memory address space
[linux.git] / drivers / fpga / of-fpga-region.c
index a6affd83f27578b0d6084f49046ff23eb283bfaa..8526a5a86f0cbe9e6729528f10b87f4c15078f79 100644 (file)
@@ -425,20 +425,18 @@ eprobe_mgr_put:
        return ret;
 }
 
-static int of_fpga_region_remove(struct platform_device *pdev)
+static void of_fpga_region_remove(struct platform_device *pdev)
 {
        struct fpga_region *region = platform_get_drvdata(pdev);
        struct fpga_manager *mgr = region->mgr;
 
        fpga_region_unregister(region);
        fpga_mgr_put(mgr);
-
-       return 0;
 }
 
 static struct platform_driver of_fpga_region_driver = {
        .probe = of_fpga_region_probe,
-       .remove = of_fpga_region_remove,
+       .remove_new = of_fpga_region_remove,
        .driver = {
                .name   = "of-fpga-region",
                .of_match_table = of_match_ptr(fpga_region_of_match),
This page took 0.032437 seconds and 4 git commands to generate.