diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-02-09 04:31:31 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 14:40:57 +0100 |
commit | d0684d3b8934cfb8171755cdb1fc87f4c0335655 (patch) | |
tree | c0fd5e5e119c87f38e66c89cef5a879f40d12d80 /drivers/tty/tty_buffer.c | |
parent | cpufreq: governor: Drop pointless goto from cpufreq_governor_init() (diff) | |
download | linux-d0684d3b8934cfb8171755cdb1fc87f4c0335655.tar.xz linux-d0684d3b8934cfb8171755cdb1fc87f4c0335655.zip |
cpufreq: governor: Create generic macro for common tunables
Some tunables are present in governor-specific structures, whereas one
(min_sampling_rate) is located directly in struct dbs_data.
There is a special macro for creating its sysfs attribute and the
show/store callbacks, but since more tunables are going to be moved
to struct dbs_data, a new generic macro for such cases will be useful,
so add it and use it for min_sampling_rate.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Juri Lelli <juri.lelli@arm.com>
Tested-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions