Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1682082
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V1 4/5] spmi: pmic-arb: return the value instead of passing by pointer |
| Date | 2017-07-06 08:50 +0200 |
| Message-ID | <u08LU-OV-21@gated-at.bofh.it> (permalink) |
| References | <tZ8uC-1fR-11@gated-at.bofh.it> <tZ8Ei-1jU-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/03, Kiran Gunda wrote: > 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 <kgunda@codeaurora.org> > --- Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH V1 4/5] spmi: pmic-arb: return the value instead of passing by pointer Stephen Boyd <sboyd@codeaurora.org> - 2017-07-06 08:50 +0200
csiph-web