On 04.09.2024 17:31, Roger Pau Monne wrote: > Move the logic that ensures the CMOS RTC data is read just after it's been > updated into the __get_cmos_time() function that does the register reads. > This > requires returning a boolean from __get_cmos_time() to signal whether the read > has been successfully performed after an update. > > Note that while __get_cmos_time() can be used without waiting for the update > edge, so far the only caller does wait for it, hence move the code inside of > the function. > > The goal, albeit not accomplished by this patch, is to be able to split the > probing and the reading of the CMOS RTC data into two separate functions. > > No functional change intended. > > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
Acked-by: Jan Beulich <jbeul...@suse.com>