Change-Id: Ice3e8c1ce10ea660f612d1c7ab58d87b30ba958f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr,
const char *buf, size_t n)
{
-#if 0 // do not allow suspend in emulator
-
#ifdef CONFIG_SUSPEND
suspend_state_t state = PM_SUSPEND_STANDBY;
const char * const *s;
Exit:
return error ? error : n;
-#else
-
- return n;
-#endif // do not allow suspend in emulator
}
power_attr(state);