From 29973a70c03d6b232c02753588b7bea9a7e00ce7 Mon Sep 17 00:00:00 2001 From: Mikko Perttunen Date: Thu, 12 Jan 2017 14:43:36 +0200 Subject: [PATCH] video: tegra: host: Track nvhost API change Nvhost power domain support has been refactored and as part of that the function nvhost_module_add_domain is no longer necessary and has been removed. Therefore remove calls to this function from unit drivers. JIRA HOSTX-156 Bug 1852328 Change-Id: Id5d404e40c301bccd531091622a92f359532b384 Signed-off-by: Mikko Perttunen Reviewed-on: http://git-master/r/1284202 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/video/tegra/host/nvdla/nvdla.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/video/tegra/host/nvdla/nvdla.c b/drivers/video/tegra/host/nvdla/nvdla.c index 3f58068c..bfa66c4f 100644 --- a/drivers/video/tegra/host/nvdla/nvdla.c +++ b/drivers/video/tegra/host/nvdla/nvdla.c @@ -527,12 +527,6 @@ static int nvdla_probe(struct platform_device *pdev) if (err) goto err_module_init; -#ifdef CONFIG_PM_GENERIC_DOMAINS - err = nvhost_module_add_domain(&pdata->pd, pdev); - if (err) - goto err_add_domain; -#endif - err = nvhost_client_device_init(pdev); if (err) goto err_client_device_init; @@ -567,9 +561,6 @@ err_mss_init: err_queue_init: nvhost_client_device_release(pdev); err_client_device_init: -#ifdef CONFIG_PM_GENERIC_DOMAINS -err_add_domain: -#endif nvhost_module_deinit(pdev); err_module_init: err_get_resources: