linux/drivers/rtc/rtc-ds1685.c
/**
 * ds1685_rtc_end_data_access - end data access on the rtc.
 * @rtc: pointer to the ds1685 rtc structure.
 *
 * This ends what was started by ds1685_rtc_begin_data_access:
 *  - Switches the rtc back to bank 0.
 *  - Clears the SET bit in Control Register B.
 */
end data access on the rtc.
@rtc: pointer to the ds1685 rtc structure.

This ends what was started by ds1685_rtc_begin_data_access:
- Switches the rtc back to bank 0.
- Clears the SET bit in Control Register B.
end data access on the rtc . @rtc : pointer to the ds1685 rtc structure . This ends what was started by ds1685_rtc_begin_data_access : - Switches the rtc back to bank 0 . - Clears the SET bit in Control Register B .
static inline void
ds1685_rtc_end_data_access(struct ds1685_priv *rtc)
{
	ds1685_rtc_switch_to_bank1(rtc);
	rtc->write(rtc, RTC_CTRL_B,
		   (rtc->read(rtc, RTC_CTRL_B) & ~(RTC_CTRL_B_SET)));
}
static inline void ds1685_rtc_end_data_access ( struct ds1685_priv * rtc ) { ds1685_rtc_switch_to_bank1 ( rtc ) ; rtc -> write ( rtc , RTC_CTRL_B , ( rtc -> read ( rtc , RTC_CTRL_B ) & ~ ( RTC_CTRL_B_SET ) ) ) ; }
ds1685_rtc_end_data_access - end data access on the rtc.
ds1685_rtc_end_data_access - end data access on the rtc .
/* Switch back to Bank 0 */ /* Clear the SET bit in Ctrl B */