Revert "PM / devfreq: Add show_one macro to delete the duplicate code"
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 23 Oct 2017 01:32:07 +0000 (10:32 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 26 Oct 2017 08:08:40 +0000 (17:08 +0900)
commit1051e2c304b5cf17d4117505985f8128c5c64fd9
treeeb3c561f3a595e52c532c97b311f02469097e9bf
parentab8f58ad72c4d1abe59216362ddb8bfa428c9071
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>
drivers/devfreq/devfreq.c