/* Utility to change a property on all regulators simultaneously.  */
void pmu_set_all_property(pmu_property_t selector, const void *value)
/* Utility to change a property on all regulators simultaneously.  */
void pmu_set_all_property(pmu_property_t selector, const void *value)
{
    unsigned regulator;
    for (regulator = kPMURegulator_1p1; regulator <= kPMURegulator_SoC; ++regulator)
    {
        pmu_get_regulator(static_cast<pmu_regulators_t>(regulator)).setProperty(selector, value);
    }
}