diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index 33937448..618b1716 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -746,10 +746,6 @@ static int gk20a_tegra_probe(struct device *dev) | |||
746 | 746 | ||
747 | platform->g->host1x_dev = host1x_pdev; | 747 | platform->g->host1x_dev = host1x_pdev; |
748 | 748 | ||
749 | if (platform->g->host1x_dev) | ||
750 | nvhost_register_dump_device(platform->g->host1x_dev, | ||
751 | gk20a_debug_dump_device, | ||
752 | platform->g->dev); | ||
753 | #ifdef CONFIG_OF | 749 | #ifdef CONFIG_OF |
754 | joint_xpu_rail = of_property_read_bool(of_chosen, | 750 | joint_xpu_rail = of_property_read_bool(of_chosen, |
755 | "nvidia,tegra-joint_xpu_rail"); | 751 | "nvidia,tegra-joint_xpu_rail"); |
@@ -794,11 +790,6 @@ static int gk20a_tegra_late_probe(struct device *dev) | |||
794 | 790 | ||
795 | static int gk20a_tegra_remove(struct device *dev) | 791 | static int gk20a_tegra_remove(struct device *dev) |
796 | { | 792 | { |
797 | struct gk20a_platform *platform = dev_get_drvdata(dev); | ||
798 | |||
799 | if (platform->g->host1x_dev) | ||
800 | nvhost_unregister_dump_device(platform->g->host1x_dev); | ||
801 | |||
802 | /* remove gk20a power subdomain from host1x */ | 793 | /* remove gk20a power subdomain from host1x */ |
803 | nvhost_unregister_client_domain(dev_to_genpd(dev)); | 794 | nvhost_unregister_client_domain(dev_to_genpd(dev)); |
804 | 795 | ||