mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 18:42:29 +03:00
gpu: nvgpu: gv11b: remove .late_probe and .remove
The calls to nvhost_{register,unregister}_client_domain don't do
anything, so remove the platform device's late_probe and remove ops that
serve no other purpose than calling those empty functions. Remove also
the corresponding #includes which are now unused.
Bug 1853519
Change-Id: I67149d1575be5b3cacc60e6c28e6f2debfabf71c
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1326126
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e24ed1f6d7
commit
09126db3e4
@@ -14,12 +14,10 @@
|
||||
*/
|
||||
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/nvhost.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/platform_data/tegra_edp.h>
|
||||
#include <linux/dma-buf.h>
|
||||
#include <linux/nvmap.h>
|
||||
#include <linux/tegra_pm_domains.h>
|
||||
#include <linux/reset.h>
|
||||
#include <linux/hashtable.h>
|
||||
|
||||
@@ -57,22 +55,6 @@ static int gv11b_tegra_probe(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int gv11b_tegra_late_probe(struct device *dev)
|
||||
{
|
||||
/* Make gk20a power domain a subdomain of host1x */
|
||||
nvhost_register_client_domain(dev_to_genpd(dev));
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int gv11b_tegra_remove(struct device *dev)
|
||||
{
|
||||
/* remove gk20a power subdomain from host1x */
|
||||
nvhost_unregister_client_domain(dev_to_genpd(dev));
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
static bool gv11b_tegra_is_railgated(struct device *dev)
|
||||
{
|
||||
bool ret = false;
|
||||
@@ -105,8 +87,6 @@ struct gk20a_platform t19x_gpu_tegra_platform = {
|
||||
.ptimer_src_freq = 31250000,
|
||||
|
||||
.probe = gv11b_tegra_probe,
|
||||
.late_probe = gv11b_tegra_late_probe,
|
||||
.remove = gv11b_tegra_remove,
|
||||
|
||||
/* power management callbacks */
|
||||
.suspend = gv11b_tegra_suspend,
|
||||
|
||||
Reference in New Issue
Block a user