rtc: add correction parameter
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:19:30 +0000 (17:19 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:20:50 +0000 (17:20 +0200)
commita6d8c6e1a5c6fb982964861dc84c0c7cb0151c7c
tree8d2c5f907bf0414f056a087067ebc2f9ea7a6384
parent2268551935dbf1abcbb4d4fb7b1ad74dbe0d1be0
rtc: add correction parameter

Add a new parameter allowing the get and set the correction using ioctls
instead of just sysfs.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211018151933.76865-5-alexandre.belloni@bootlin.com
drivers/rtc/dev.c
include/uapi/linux/rtc.h