diff options
| author | Kiran Gunda <[email protected]> | 2017-07-28 12:40:42 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-28 13:51:19 +0200 |
| commit | ff615ed91b5dffa0f1977ee1d703f697e2b4d62f (patch) | |
| tree | a5870e8953a670fe3556f7066ef8718108dcec8a /tools/perf/scripts/python | |
| parent | 9f7a9a448da7cf7951fb9e33eadd4dea173000fe (diff) | |
spmi: pmic-arb: return the value instead of passing by pointer
Returning the output value from a function, when it is possible, is the
better and cleaner way than passing it by the pointer. Hence, modify
the ppid_to_apid mapping function to return apid instead of passing
it by a pointer. While at it, pass the ppid as function parameter to
ppid_to_apid mapping function instead of passing the sid and addr.
Signed-off-by: Kiran Gunda <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions