diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-09-04 17:31:33 +0530 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-09-16 11:01:36 +0200 |
commit | 9d2410c79b5b2dd741648de26ad52ffd2ce3dc01 (patch) | |
tree | 857d401fb979d740b15faefc681d83468b128a5a /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 061f3806bbe4d8e86dddf101f75f49c38d3f1669 (diff) |
power-supply: Use PTR_ERR_OR_ZERO() routine
At multiple places we are doing exactly what PTR_ERR_OR_ZERO() does. And so that
routine can be reused instead of increasing lines of code here.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions