On 14/02/18 15:35, Bjorn Andersson wrote:
+ res->supplies[1].supply = "vdda_phy";
+ res->supplies[1].supply = "vdda_refclk";
2
+ ret = devm_regulator_bulk_get(dev, QCOM_PCIE_2_1_0_MAX_SUPPLY,
Use ARRAY_SIZE(res->supplies) instead.
Thanks, Will fix it and send a new one.
--srini
+ res->supplies);
+ if (ret)
+ return ret;
Other than that, this looks good.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html