On Wed, Oct 11 2023 at 06:58, Biju Das wrote: >> On Tue, Oct 10, 2023 at 5:16 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: >> >> The "if (alarmtimer_get_rtcdev()) { ... }" you pointed out in the probe >> function seems to be rather fragile, as it depends on probe order. And >> both CHARGER_MANAGER and RTC_DRV_88PM860X can be modular. > > Does it mean that current patch is fine? On normal scenario, no one > will remove RTC device, so nothing to worry about battery charger. On > exceptional cases if anyone wants to remove RTC driver, this patch > will help(for eg: checking resource leak remove/unbind followed by > modprobe/bind). Did you actually read what I wrote? Allowing removal of a registered RTC alarm device is a user space visible change as it violates the assumption that an armed alarm timer is actually functional. So unless you provide a proper analysis why this does not matter, this is going nowhere. Thanks, tglx