commit | 08e75e754a6d9838e490b74551d19fc04d0fd6f9 | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Fri Aug 14 18:56:56 2015 +0100 |
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | Fri Sep 11 14:23:28 2015 +0900 |
tree | 71344662250f9bd22389a86e886a1aa6b67c7fed | |
parent | 9348da2f1c2ca8e064d4907cdc5b3a19477df933 [diff] |
PM / devfreq: cache the last call to get_dev_status() The return value of get_dev_status() can be reused. Cache it so that other parts of the kernel can reuse it instead of having to call the same function again. Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>