/* Return a pointer to the struct powerdomain that the specified clockdomain 'clkdm' exists in, or returns NULL if clkdm argument is NULL.  */
struct powerdomain* clkdm_get_pwrdm(struct clockdomain *clkdm)
/* Return a pointer to the struct powerdomain that the specified clockdomain 'clkdm' exists in, or returns NULL if clkdm argument is NULL.  */
struct powerdomain* clkdm_get_pwrdm(struct clockdomain *clkdm)
{
	if (!clkdm)
		return NULL;
	return clkdm->pwrdm.ptr;
}