Skip to contentSkip to conversation

PM / devfreq: Add show_one macro to delete the duplicate code

PATCH MyungJoo Ham 1 participant 1 message Nov 23, 2015

lore
Share & tools
lore

MyungJoo Ham

author Applied
#0 lore raw
Quoted 5 lines

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

Applied.

Thanks.

Quoted 4 lines
---
 drivers/devfreq/devfreq.c | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)