Re: [PATCH 7/11] cpufreq: governor: Rework cpufreq_governor_dbs()

2016-02-03 Thread Saravana Kannan
On 02/03/2016 03:33 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Since it is possible to obtain a pointer to struct dbs_governor from a pointer to the struct governor embedded in it via container_of(), the second argument of cpufreq_governor_init() is not necessary. Accordingly,

[PATCH 7/11] cpufreq: governor: Rework cpufreq_governor_dbs()

2016-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since it is possible to obtain a pointer to struct dbs_governor from a pointer to the struct governor embedded in it via container_of(), the second argument of cpufreq_governor_init() is not necessary. Accordingly, cpufreq_governor_dbs() doesn't need its second argument

[PATCH 7/11] cpufreq: governor: Rework cpufreq_governor_dbs()

2016-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since it is possible to obtain a pointer to struct dbs_governor from a pointer to the struct governor embedded in it via container_of(), the second argument of cpufreq_governor_init() is not necessary. Accordingly, cpufreq_governor_dbs()

Re: [PATCH 7/11] cpufreq: governor: Rework cpufreq_governor_dbs()

2016-02-03 Thread Saravana Kannan
On 02/03/2016 03:33 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Since it is possible to obtain a pointer to struct dbs_governor from a pointer to the struct governor embedded in it via container_of(), the second argument of cpufreq_governor_init() is not