Hi All, This is a v2 of the series previously posted as https://lore.kernel.org/linux-acpi/2276401.ElGaqSPkdT@kreacher/ The first three patches in the series have not changed since then (I have considered moving the last patch, which is a fix, to the front, but that turns out to be a bit cumbersome and not really worth the effort). This series of patches does some assorted ACPI-related cleanups to the CMOS RTC driver: - redundant static variable is dropped, - code duplication is reduced, - code is relocated so as to drop a few unnecessary forward declarations of functions, - functions are renamed to avoid confusion, and fixes up an issue in the driver removal path. Thanks!