summaryrefslogtreecommitdiff
path: root/drivers/scsi/nsp32_io.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-05 03:16:08 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 14:40:54 +0100
commitaf926185231a6e30d11a6035410b61405e203c3b (patch)
tree665addfcea5d3377b255f0fe9c14534a50a430b6 /drivers/scsi/nsp32_io.h
parent5da3dd1e00918a9ac4b83885453bfa9cad732b44 (diff)
cpufreq: governor: Put governor structure into common_dbs_data
For the ondemand and conservative governors (generally, governors that use the common code in cpufreq_governor.c), there are two static data structures representing the governor, the struct governor structure (the interface to the cpufreq core) and the struct common_dbs_data one (the interface to the cpufreq_governor.c code). There's no fundamental reason why those two structures have to be separate. Moreover, if the struct governor one is included into struct common_dbs_data, it will be possible to reach the latter from the policy via its policy->governor pointer, so it won't be necessary to pass a separate pointer to it around. For this reason, embed struct governor in struct common_dbs_data. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Saravana Kannan <skannan@codeaurora.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/scsi/nsp32_io.h')
0 files changed, 0 insertions, 0 deletions