static int tf_device_suspend(void)
{
	dprintk(KERN_INFO "%s\n", __func__);
	return tf_power_management(&g_tf_dev.sm, TF_POWER_OPERATION_HIBERNATE);
}
static void tf_device_shutdown(void)
{
	tf_power_management(&g_tf_dev.sm, TF_POWER_OPERATION_SHUTDOWN);
}
static void tf_device_shutdown(void)
{
	if (0 > tf_power_management(&g_tf_dev.sm, TF_POWER_OPERATION_SHUTDOWN))
		dprintk(KERN_ERR "tf_device_shutdown failing\n");
}
static void tf_device_resume(void)
{
	if (0 > tf_power_management(&g_tf_dev.sm, TF_POWER_OPERATION_RESUME))
		dprintk(KERN_ERR "tf_device_resume failing\n");
}
예제 #5
0
static void tf_device_resume(void)
{
    tf_power_management(&g_tf_dev.sm, TF_POWER_OPERATION_RESUME);
}