/* Returns 1 if powerdomain 'pwrdm' supports hardware save-and-restore for some devices, or 0 if it does not.  */
bool pwrdm_has_hdwr_sar(struct powerdomain *pwrdm)
/* Returns 1 if powerdomain 'pwrdm' supports hardware save-and-restore for some devices, or 0 if it does not.  */
bool pwrdm_has_hdwr_sar(struct powerdomain *pwrdm)
{
	return (pwrdm && pwrdm->flags & PWRDM_HAS_HDWR_SAR) ? 1 : 0;
}