lib/sw_apps/zynqmp_pmufw/src/pm_slave.c
static bool PmSlaveIsUsable(PmNode* const node)
{
	bool usable = true;
	PmSlave* const slave = (PmSlave*)node->derived;

	/* Slave is not usable if it has no allocated requirements */
	if (NULL == slave->reqs) {
		usable = false;
	}

	return usable;
}
/**
 * PmSlaveIsUsable() - Check if slave is usable according to the configuration
 * @node	Slave node to check
 *
 * @return	True if slave can be used, false otherwise
 */
Check if slave is usable according to the configuration
@node        Slave node to check

@return      True if slave can be used, false otherwise
Check if slave is usable according to the configuration @node Slave node to check @return True if slave can be used false otherwise
static bool PmSlaveIsUsable(PmNode* const node)
{
	bool usable = true;
	PmSlave* const slave = (PmSlave*)node->derived;
	if (NULL == slave->reqs) {
		usable = false;
	}
	return usable;
}
static bool PmSlaveIsUsable ( PmNode * const node ) { bool usable = true ; PmSlave * const slave = ( PmSlave * ) node -> derived ; if ( NULL == slave -> reqs ) { usable = false ; } return usable ; }
PmSlaveIsUsable() - Check if slave is usable according to the configuration
 @node        Slave node to check
PmSlaveIsUsable () - Check if slave is usable according to the configuration @node Slave node to check
/* Slave is not usable if it has no allocated requirements */