android_kernel_motorola_sm6225/drivers/spmi
Kiran Gunda ff615ed91b 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 <kgunda@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-28 13:51:19 +02:00
..
Kconfig spmi: Select IRQ_DOMAIN instead of depend on it 2015-08-05 12:27:09 -07:00
Makefile spmi: Add MSM PMIC Arbiter SPMI controller 2014-02-15 11:55:28 -08:00
spmi-pmic-arb.c spmi: pmic-arb: return the value instead of passing by pointer 2017-08-28 13:51:19 +02:00
spmi.c spmi: Include OF based modalias in device uevent 2017-07-17 15:00:47 +02:00