aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2018-02-17 13:58:40 +0000
committerAlexandre Belloni <[email protected]>2018-03-17 13:20:54 +0000
commit71db049e7355f31604e2c04b6cabb71d02bd487d (patch)
tree19743f8478631b847a11cf09690a6b4f28927e76 /drivers/rtc/class.c
parentrtc: isl1208: switch to rtc_register_device (diff)
downloadkernel-71db049e7355f31604e2c04b6cabb71d02bd487d.tar.gz
kernel-71db049e7355f31604e2c04b6cabb71d02bd487d.zip
rtc: Add RTC range
Add a way for drivers to inform the core of the supported date/time range. The core can then check whether the date/time or alarm is in the range before calling ->set_time, ->set_mmss or ->set_alarm. It returns -ERANGE when the time is out of range. Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions