/* Loop through the list of powerdomains, registering all that are available on the current CPU. If pwrdm_list is supplied and not null, all of the referenced powerdomains will be registered. No return value.  */
void pwrdm_init(struct powerdomain **pwrdm_list)
/* Loop through the list of powerdomains, registering all that are available on the current CPU. If pwrdm_list is supplied and not null, all of the referenced powerdomains will be registered. No return value.  */
void pwrdm_init(struct powerdomain **pwrdm_list)
{
	struct powerdomain **p = NULL;
	if (pwrdm_list) {
		for (p = pwrdm_list; *p; p++) {
			pwrdm_register(*p);
			_pwrdm_setup(*p);
		}
	}
}