summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index ab9dd037..3d887d85 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1478,6 +1478,9 @@ static int __exit gk20a_remove(struct platform_device *dev)
1478 else 1478 else
1479 gk20a_pm_disable_clk(&dev->dev); 1479 gk20a_pm_disable_clk(&dev->dev);
1480 1480
1481 if (platform->remove)
1482 platform->remove(dev);
1483
1481 set_gk20a(dev, NULL); 1484 set_gk20a(dev, NULL);
1482 kfree(g); 1485 kfree(g);
1483 1486