tegra: camera: Remove dead code from rtcpu drivers

Remove BWMGR code that is not used in K5.15 from tegra-camera-rtcpu and
debug drivers

Jira CAMERASW-10218

Change-Id: I7ab83a92ba200c5f7bfcd3d121a5a3c94751bd9c
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2821839
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Matti Ryttylainen
2022-12-05 14:05:57 +02:00
committed by mobile promotions
parent d2024697f3
commit af0a39164b
2 changed files with 2 additions and 82 deletions

View File

@@ -27,9 +27,6 @@
#include <soc/tegra/ivc_ext.h>
#include <linux/tegra-ivc-bus.h>
#include <linux/platform/tegra/common.h>
#if IS_ENABLED(CONFIG_TEGRA_BWMGR)
#include <linux/platform/tegra/emc_bwmgr.h>
#endif
#include <soc/tegra/fuse.h>
#define CAMRTC_TEST_CAM_DEVICES 4
@@ -906,9 +903,6 @@ struct camrtc_run_membw {
#if IS_ENABLED(CONFIG_INTERCONNECT)
struct icc_path *icc_path;
#endif
#if IS_ENABLED(CONFIG_TEGRA_BWMGR)
struct tegra_bwmgr_client *bwmgr;
#endif
};
static void camrtc_membw_set(struct camrtc_run_membw *membw, u32 bw)
@@ -944,11 +938,6 @@ static void camrtc_membw_reset(struct camrtc_run_membw *membw)
if (membw->icc_path)
icc_put(membw->icc_path);
#endif
#if IS_ENABLED(CONFIG_TEGRA_BWMGR)
if (membw->bwmgr)
tegra_bwmgr_unregister(membw->bwmgr);
#endif
}
static int camrtc_run_mem_test(struct seq_file *file,