[T-Mobile Samsung Galaxy S II SGH-T989] elbermu:
Whoa!!! Wait...

Let me understand this because I am surprised...

You took the ondemand governor in my git here:

replaced the words "ondemand" for "asdk" and added one author line to the file here:

MODULE_AUTHOR("Andre Saddler <dresadd09691@gmail.com>");

and committed your changes as a "NEW" governor called ASDK:

Diff of the two (2) files:

--- <unnamed>
+++ <unnamed>
@@ -1,5 +1,5 @@
/*
- * drivers/cpufreq/cpufreq_ondemand.c
+ * drivers/cpufreq/cpufreq_asdk.c
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
@@ -87,11 +87,11 @@
static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
unsigned int event);

-#ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND
+#ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_ASDK
static
#endif
-struct cpufreq_governor cpufreq_gov_ondemand = {
- .name = "ondemand",
+struct cpufreq_governor cpufreq_gov_asdk = {
+ .name = "Asdk",
.governor = cpufreq_governor_dbs,
.max_transition_latency = TRANSITION_LATENCY_LIMIT,
.owner = THIS_MODULE,
@@ -159,7 +159,7 @@
unsigned int origin_sampling_rate;
unsigned int ui_sampling_rate;
unsigned int ui_counter;
-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
unsigned int two_phase_freq;
#endif
} dbs_tuners_ins = {
@@ -168,7 +168,7 @@
.down_differential = DEF_FREQUENCY_DOWN_DIFFERENTIAL,
.ignore_nice = 0,
.powersave_bias = 0,
-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
.two_phase_freq = 0,
#endif
.freq_boost_time = DEFAULT_FREQ_BOOST_TIME,
@@ -280,7 +280,7 @@
return freq_hi;
}

-static int ondemand_powersave_bias_setspeed(struct cpufreq_policy *policy,
+static int asdk_powersave_bias_setspeed(struct cpufreq_policy *policy,
struct cpufreq_policy *altpolicy,
int level)
{
@@ -300,18 +300,18 @@
return 0;
}

-static void ondemand_powersave_bias_init_cpu(int cpu)
+static void asdk_powersave_bias_init_cpu(int cpu)
{
struct cpu_dbs_info_s *dbs_info = &per_cpu(od_cpu_dbs_info, cpu);
dbs_info->freq_table = cpufreq_frequency_get_table(cpu);
dbs_info->freq_lo = 0;
}

-static void ondemand_powersave_bias_init(void)
+static void asdk_powersave_bias_init(void)
{
int i;
for_each_online_cpu(i) {
-	ondemand_powersave_bias_init_cpu(i);
+	asdk_powersave_bias_init_cpu(i);
}
}

@@ -325,7 +325,7 @@

define_one_global_ro(sampling_rate_min);

-/* cpufreq_ondemand Governor Tunables */
+/* cpufreq_asdk Governor Tunables */
#define show_one(file_name, object)	\
static ssize_t show_##file_name	\
(struct kobject *kobj, struct attribute *attr, char *buf) \
@@ -343,7 +343,7 @@
show_one(touch_poke, touch_poke);
show_one(ui_sampling_rate, ui_sampling_rate);
show_one(ui_counter, ui_counter);
-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
show_one(two_phase_freq, two_phase_freq);
#endif

@@ -403,7 +403,7 @@
return count;
}

-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
static ssize_t store_two_phase_freq(struct kobject *a, struct attribute *b,
const char *buf, size_t count)
{
@@ -628,7 +628,7 @@
unlock_policy_rwsem_write(cpu);
}
}
-	ondemand_powersave_bias_init();
+	asdk_powersave_bias_init();
} else {
/* running at maximum or minimum frequencies; cancel
dbs timer as periodic load sampling is not necessary */
@@ -651,11 +651,11 @@
cpumask_set_cpu(cpu, &cpus_timer_done);

if (dbs_info->cur_policy) {
-	/* cpu using ondemand, cancel dbs timer */
+	/* cpu using asdk, cancel dbs timer */
mutex_lock(&dbs_info->timer_mutex);
dbs_timer_exit(dbs_info);

-	ondemand_powersave_bias_setspeed(
+	asdk_powersave_bias_setspeed(
dbs_info->cur_policy,
NULL,
input);
@@ -677,7 +677,7 @@
define_one_global_rw(sampling_down_factor);
define_one_global_rw(ignore_nice_load);
define_one_global_rw(powersave_bias);
-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
define_one_global_rw(two_phase_freq);
#endif
define_one_global_rw(boostpulse);
@@ -694,7 +694,7 @@
&sampling_down_factor.attr,
&ignore_nice_load.attr,
&powersave_bias.attr,
-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
&two_phase_freq.attr,
#endif
&io_is_busy.attr,
@@ -708,7 +708,7 @@

static struct attribute_group dbs_attr_group = {
.attrs = dbs_attributes,
-	.name = "ondemand",
+	.name = "Asdk",
};

/************************** sysfs end ************************/
@@ -724,7 +724,7 @@
CPUFREQ_RELATION_L : CPUFREQ_RELATION_H);
}

-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
int set_two_phase_freq(int cpufreq)
{
dbs_tuners_ins.two_phase_freq = cpufreq;
@@ -744,7 +744,7 @@
struct cpufreq_policy *policy;
unsigned int j;

-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
static unsigned int phase = 0;
static unsigned int counter = 0;
#endif
@@ -832,7 +832,7 @@
}

/*
-	* For the purpose of ondemand, waiting for disk IO is an
+	* For the purpose of asdk, waiting for disk IO is an
* indication that you're performance critical, and not that
* the system is actually idle. So subtract the iowait time
* from the cpu idle time.
@@ -878,7 +878,7 @@
/* Check for frequency increase */
if (max_load_freq > dbs_tuners_ins.up_threshold * policy->cur) {
/* If switching to max speed, apply sampling_down_factor */
-#ifndef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifndef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
if (policy->cur < policy->max) {
if (sampling_rate_boosted &&
(dbs_tuners_ins.sampling_down_factor <
@@ -918,7 +918,7 @@
#endif
return;
}
-#ifdef CONFIG_CPU_FREQ_GOV_ONDEMAND_2_PHASE
+#ifdef CONFIG_CPU_FREQ_GOV_ASDK_2_PHASE
if (counter > 0) {
counter--;
if (counter == 0) {
@@ -1074,7 +1074,7 @@
this_dbs_info = &per_cpu(od_cpu_dbs_info, cpu);
policy = this_dbs_info->cur_policy;
if (!policy) {
-	/* CPU not using ondemand governor */
+	/* CPU not using asdk governor */
goto bail_incorrect_governor;
}

@@ -1091,7 +1091,7 @@

if (policy->cur < touch_poke_freq) {
//policy->cur = policy->max;
-	//printk(KERN_ERR "%s: set cpufreq to (%d) directly due to input events!\n", __func__, touch_poke_freq);
+	printk(KERN_ERR "%s: set cpufreq to (%d) directly due to input events!\n", __func__, touch_poke_freq);
__cpufreq_driver_target(policy, touch_poke_freq,
CPUFREQ_RELATION_L);
this_dbs_info->prev_cpu_idle = get_cpu_idle_time(cpu,
@@ -1224,7 +1224,7 @@
}
this_dbs_info->cpu = cpu;
this_dbs_info->rate_mult = 1;
-	ondemand_powersave_bias_init_cpu(cpu);
+	asdk_powersave_bias_init_cpu(cpu);
/*
* Start the timerschedule work, when this governor
* is used for first time
@@ -1261,7 +1261,7 @@
mutex_unlock(&dbs_mutex);

-	if (!ondemand_powersave_bias_setspeed(
+	if (!asdk_powersave_bias_setspeed(
this_dbs_info->cur_policy,
NULL,
dbs_tuners_ins.powersave_bias))
@@ -1297,7 +1297,7 @@
__cpufreq_driver_target(this_dbs_info->cur_policy,
policy->min, CPUFREQ_RELATION_L);
else if (dbs_tuners_ins.powersave_bias != 0)
-	ondemand_powersave_bias_setspeed(
+	asdk_powersave_bias_setspeed(
this_dbs_info->cur_policy,
policy,
dbs_tuners_ins.powersave_bias);
@@ -1351,23 +1351,24 @@
dbs_work->cpu = i;
}

-	return cpufreq_register_governor(&cpufreq_gov_ondemand);
+	return cpufreq_register_governor(&cpufreq_gov_asdk);
}

static void __exit cpufreq_gov_dbs_exit(void)
{
-	cpufreq_unregister_governor(&cpufreq_gov_ondemand);
+	cpufreq_unregister_governor(&cpufreq_gov_asdk);
destroy_workqueue(input_wq);
}

MODULE_AUTHOR("Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>");
MODULE_AUTHOR("Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>");
-MODULE_DESCRIPTION("'cpufreq_ondemand' - A dynamic cpufreq governor for "
+MODULE_AUTHOR("Andre Saddler <dresadd09691@gmail.com>");
+MODULE_DESCRIPTION("'cpufreq_asdk' - Based on ondemand, A dynamic cpufreq governor for "
"Low Latency Frequency Transition capable processors");
MODULE_LICENSE("GPL");

-#ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND
+#ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_ASDK
fs_initcall(cpufreq_gov_dbs_init);
#else
module_init(cpufreq_gov_dbs_init);

This is NOT far the same situation exposed here, when someone took your kernel changed the name and uploaded back.

Why you even add yourself as an author of the file?

WOW this really pissed me off...