Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1682082 > unrolled thread
| Started by | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| First post | 2017-07-06 08:50 +0200 |
| Last post | 2017-07-06 08:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2017-07-06 08:50 +0200 |
| Subject | Re: [PATCH V1 4/5] spmi: pmic-arb: return the value instead of passing by pointer |
| Message-ID | <u08LU-OV-21@gated-at.bofh.it> |
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 top | Article view | linux.kernel
csiph-web