Skip to content
Commit 2c5a5b30 authored by Wei Ni's avatar Wei Ni Committed by Linus Torvalds
Browse files

drivers/rtc/rtc-palmas.c: init wakeup before device register



Enable dev as wakeup device before calling rtc_device_register(), so that
it can create the "wakealarm" sysfs.

Signed-off-by: default avatarWei Ni <wni@nvidia.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 92e7f04a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment