rtc_set_offset
The interface has the following parameters.
- Syntax:
int rtc_set_offset(struct rtc_device *rtc, long offset)
- Description: The function is used to adjust the duration of the average second.
- Parameter:
- rtc: The target RTC device.
- offset: The offset in parts per billion.
- Return:
- Success: 0.
- Failure: Error code.