summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/dvfs.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-10-11 21:01:23 -0700
committerYu-Huan Hsu <yhsu@nvidia.com>2013-10-16 11:14:53 -0700
commit014d5626e29dd2018e3732f64f49438c1399620e (patch)
tree6016f5fc86aea711e292d601e8d7c69790da7013 /arch/arm/mach-tegra/dvfs.c
parent6418ad4ac156ceea50fb3fc3cb82b634f1dd8848 (diff)
ARM: tegra: dvfs: Remove obsolete gpu_dvfs debugfs node
Change-Id: Idb9e5b225b2b94232200154e00f5843889516106 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/298529 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Chris Dragan <kdragan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.c')
-rw-r--r--arch/arm/mach-tegra/dvfs.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/arch/arm/mach-tegra/dvfs.c b/arch/arm/mach-tegra/dvfs.c
index c79ea0111450..4e4c76319596 100644
--- a/arch/arm/mach-tegra/dvfs.c
+++ b/arch/arm/mach-tegra/dvfs.c
@@ -1778,39 +1778,6 @@ static const struct file_operations rail_stats_fops = {
.release = single_release,
};
-static int gpu_dvfs_show(struct seq_file *s, void *data)
-{
- int idx;
- int *millivolts;
- unsigned long *freqs;
-
- if (read_gpu_dvfs_table(&millivolts, &freqs)) {
- seq_printf(s, "Only supported for T124 or higher\n");
- return 0;
- }
-
- seq_printf(s, "millivolts \t \t frequency\n");
- seq_printf(s, "=====================================\n");
-
- for (idx = 0; millivolts[idx]; idx++)
- seq_printf(s, "%d mV \t \t %lu Hz\n", millivolts[idx],
- freqs[idx]);
-
- return 0;
-}
-
-static int gpu_dvfs_open(struct inode *inode, struct file *file)
-{
- return single_open(file, gpu_dvfs_show, NULL);
-}
-
-static const struct file_operations gpu_dvfs_fops = {
- .open = gpu_dvfs_open,
- .read = seq_read,
- .llseek = seq_lseek,
- .release = single_release,
-};
-
static int rail_offs_set(struct dvfs_rail *rail, int offs)
{
if (rail) {
@@ -2050,11 +2017,6 @@ int __init dvfs_debugfs_init(struct dentry *clk_debugfs_root)
if (!d)
return -ENOMEM;
- d = debugfs_create_file("gpu_dvfs", S_IRUGO | S_IWUSR,
- clk_debugfs_root, NULL, &gpu_dvfs_fops);
- if (!d)
- return -ENOMEM;
-
d = debugfs_create_file("gpu_dvfs_t", S_IRUGO | S_IWUSR,
clk_debugfs_root, NULL, &gpu_dvfs_t_fops);
if (!d)