/* Return: 0 if all went fine and the device ID is valid, else return appropriate error.  */
static int ti_sci_cmd_dev_is_valid(const struct ti_sci_handle *handle, u32 id)
/* Return: 0 if all went fine and the device ID is valid, else return appropriate error.  */
static int ti_sci_cmd_dev_is_valid(const struct ti_sci_handle *handle, u32 id)
{
	u8 unused;
	return ti_sci_get_device_state(handle, id, NULL, NULL, NULL, &unused);
}