rtc: interface: Add power_off_program to rtc_class_ops
authorKeerthy <j-keerthy@ti.com>
Fri, 2 Nov 2018 10:28:07 +0000 (15:58 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:03:47 +0000 (15:03 +0200)
commitf9806cc4cb1583da441ceb8c0a2bbf04f11457ea
tree6ef77ca499064dc6308a78bc79c76039797f0a83
parentcd527035f86014bbe1416d4086ae964ca30e163e
rtc: interface: Add power_off_program to rtc_class_ops

Add an interface function to set up the rtc for a power_off
mode.

Signed-off-by: Keerthy <j-keerthy@ti.com>
drivers/rtc/interface.c
drivers/rtc/rtc-omap.c
include/linux/rtc.h