spmi: pmic-arb: clean up pmic_arb_find_apid function
authorKiran Gunda <kgunda@codeaurora.org>
Fri, 28 Jul 2017 07:10:38 +0000 (12:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 11:51:19 +0000 (13:51 +0200)
commitf2f3156472b09aed3c7f3ec38db4d09f15a58f0d
treefdf712c721069e63739a63035327ff556b2908ac
parent02abec3616c1b2027efc7e08abf7fc0d2436a837
spmi: pmic-arb: clean up pmic_arb_find_apid function

Clean up the pmic_arb_find_apid() by using the local
variables to improve the code readability.

Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi-pmic-arb.c