PM / devfreq: Add show_one macro to delete the duplicate code
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 13 Nov 2015 10:25:28 +0000 (19:25 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 13 Jan 2016 08:30:32 +0000 (17:30 +0900)
commit3104fa3081126c9bda35793af5f335d0ee0d5818
tree365c8b01f65010f05439ff9b3a56425504b6bd0b
parente54916c6e1d0b939999eb38011202dd9064d5788
PM / devfreq: Add show_one macro to delete the duplicate code

This patch adds the 'show_one' macro to simplify the duplicate code
of both max_freq_show() and min_freq_show().

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c