On Fri, 10 Jun 2022 19:48:36 +0900, Tetsuo Handa wrote: > Since "struct rtc_device" is per a device struct, I assume that clear_uie() > needs to wait for only one work associated with that device. Therefore, > wait for only that work using flush_work(). > > Applied, thanks! [1/1] rtc: Replace flush_scheduled_work() with flush_work(). commit: ff30b86c76276c2f858744b8bc04b386b4a36c94 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com