lkml.org 
[lkml]   [2017]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V1 4/5] spmi: pmic-arb: return the value instead of passing by pointer
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

\
 
 \ /
  Last update: 2017-07-06 08:44    [W:0.086 / U:12.648 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site