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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:39 +0000 (14:56 +0900)
commitb561512c5fd8272b2bfac3fb5a4c6bc1e5e29db0
treec0832f5b338d92286c8f9bf5b05187411a47e4e1
parent590fa49023a74c7a9471cf237cd10eccaab73f8e
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