/* Determine whether or not value is within range, get state structure, and enter (above).  */
int pm_suspend(suspend_state_t state)
/* Determine whether or not value is within range, get state structure, and enter (above).  */
int pm_suspend(suspend_state_t state)
{
	if (state > PM_SUSPEND_ON && state <= PM_SUSPEND_MAX)
		return enter_state(state);
	return -EINVAL;
}