Re: [PATCH V1 03/12] spmi: pmic-arb: clean up pmic_arb_find_apid function

From: kgunda
Date: Fri Jul 28 2017 - 01:33:39 EST


On 2017-07-28 06:48, Stephen Boyd wrote:
On 07/20, Kiran Gunda wrote:
Clean up the pmic_arb_find_apid() by using the local
variables to improve the code readability.

Signed-off-by: Kiran Gunda <kgunda@xxxxxxxxxxxxxx>
---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

One nit below:

break;

regval = readl_relaxed(pmic_arb->cnfg +
- SPMI_OWNERSHIP_TABLE_REG(apid));
- pmic_arb->apid_data[apid].owner =
- SPMI_OWNERSHIP_PERIPH2OWNER(regval);
+ SPMI_OWNERSHIP_TABLE_REG(apid));

This should be 7 spaces and not a tab? Originally looks like it
was 6 spaces
Will fix it and send the next patch.