/* Determines if the regulator is an digital (core) regulator.  */
static bool is_dig_reg(pmu_regulators_t reg)
/* Determines if the regulator is an digital (core) regulator.  */
static bool is_dig_reg(pmu_regulators_t reg)
{
    return (reg == kPMURegulator_ArmCore || reg == kPMURegulator_Graphics || reg == kPMURegulator_SoC);
}