diff options
| author | Javi Merino <[email protected]> | 2015-08-14 17:56:56 +0000 |
|---|---|---|
| committer | MyungJoo Ham <[email protected]> | 2015-09-11 05:23:28 +0000 |
| commit | 08e75e754a6d9838e490b74551d19fc04d0fd6f9 (patch) | |
| tree | 71344662250f9bd22389a86e886a1aa6b67c7fed /net/switchdev/switchdev.c | |
| parent | PM / devfreq: Drop unlikely before IS_ERR(_OR_NULL) (diff) | |
| download | kernel-08e75e754a6d9838e490b74551d19fc04d0fd6f9.tar.gz kernel-08e75e754a6d9838e490b74551d19fc04d0fd6f9.zip | |
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 <[email protected]>
Signed-off-by: Javi Merino <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
