diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2017-10-23 03:32:07 +0200 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-10-26 10:08:40 +0200 |
commit | 1051e2c304b5cf17d4117505985f8128c5c64fd9 (patch) | |
tree | eb3c561f3a595e52c532c97b311f02469097e9bf /lib/win_minmax.c | |
parent | PM / devfreq: Set min/max_freq when adding the devfreq device (diff) | |
download | linux-1051e2c304b5cf17d4117505985f8128c5c64fd9.tar.xz linux-1051e2c304b5cf17d4117505985f8128c5c64fd9.zip |
Revert "PM / devfreq: Add show_one macro to delete the duplicate code"
This reverts commit 3104fa3081126c9bda35793af5f335d0ee0d5818.
The {min|max}_freq_show() show the stored value of the struct devfreq.
But, if the drivers/thermal/devfreq_cooling.c disables the specific
frequency value, {min|max}_freq_show() have to check this situation
before showing the stored value. So, this patch revert the macro
in order to add the additional codes.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'lib/win_minmax.c')
0 files changed, 0 insertions, 0 deletions