diff options
author | Donghan Ryu <dryu@nvidia.com> | 2011-07-17 23:01:47 +0900 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-21 15:05:28 -0700 |
commit | d7e25c0c2ca13fc33cc9b5887b5576ea10038276 (patch) | |
tree | cc5e4fe84e6b69e91410844f97284d044069e707 /arch/arm/mach-tegra/tegra3_mc.c | |
parent | 771c7545196efe0901676bba252c67b45f149930 (diff) |
arm: tegra: renaming tegra3_mc_stats sysfs to tegra3_mc
this change is the follow-up patch to change replace
tegra3_mc_stats to tegra3_mc.
Change-Id: I50e97a122553746d025eb4628c76e6d744967e28
Reviewed-on: http://git-master/r/41478
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_mc.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra3_mc.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-tegra/tegra3_mc.c b/arch/arm/mach-tegra/tegra3_mc.c index f0b1e31541ec..f964860c7bb3 100644 --- a/arch/arm/mach-tegra/tegra3_mc.c +++ b/arch/arm/mach-tegra/tegra3_mc.c @@ -91,9 +91,9 @@ static bool sampling(void) return ret; } -/* /sys/devices/system/tegra_mc_stats */ +/* /sys/devices/system/tegra_mc */ static struct sysdev_class tegra_mc_sysclass = { - .name = "tegra_mc_stats", + .name = "tegra_mc", }; static ssize_t tegra_mc_enable_show(struct sysdev_class *class, @@ -234,16 +234,16 @@ TEGRA_MC_ATTRIBUTES(enable, 0644, log, 0444, quantum, 0644) #define TEGRA_MC_EXPAND(_attr,_mode) \ &attr_##_attr, -/* /sys/devices/system/tegra_mc_stats/enable */ -/* /sys/devices/system/tegra_mc_stats/log */ -/* /sys/devices/system/tegra_mc_stats/quantum */ +/* /sys/devices/system/tegra_mc/enable */ +/* /sys/devices/system/tegra_mc/log */ +/* /sys/devices/system/tegra_mc/quantum */ static struct sysdev_class_attribute *tegra_mc_attrs[] = { TEGRA_MC_ATTRIBUTES(enable, 0644, log, 0444, quantum, 0644) NULL }; -/* /sys/devices/system/tegra_mc_stats/client/ */ -/* /sys/devices/system/tegra_mc_stats/client/0/ */ +/* /sys/devices/system/tegra_mc/client/ */ +/* /sys/devices/system/tegra_mc/client/0/ */ static bool tegra_mc_client_0_enabled = CLIENT_ENABLED_DEFAULT; static u8 tegra_mc_client_0_on_schedule_buffer[CLIENT_ON_SCHEDULE_LENGTH_IN_BYTES]; static struct kobject *tegra_mc_client_kobj, *tegra_mc_client_0_kobj; @@ -1103,7 +1103,7 @@ static enum hrtimer_restart sample_timer_function(struct hrtimer *handle) return -EINVAL; \ } -static int tegra_mc_stats_init(void) +static int tegra_mc_init(void) { int i; int rc; @@ -1181,7 +1181,7 @@ out: &tegra_mc_dram_##_name##_attr_group); \ kobject_put(tegra_mc_dram_##_name##_kobj); -static void tegra_mc_stats_exit(void) +static void tegra_mc_exit(void) { int i; @@ -1208,6 +1208,6 @@ static void tegra_mc_stats_exit(void) sysdev_class_unregister(&tegra_mc_sysclass); } -module_init(tegra_mc_stats_init); -module_exit(tegra_mc_stats_exit); +module_init(tegra_mc_init); +module_exit(tegra_mc_exit); MODULE_LICENSE("Dual BSD/GPL"); |