[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y2l4hmXQTiQZssDK@smile.fi.intel.com>
Date: Mon, 7 Nov 2022 23:28:38 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-rtc@...r.kernel.org, Linux ACPI <linux-acpi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Zhang Rui <rui.zhang@...el.com>,
Alessandro Zummo <a.zummo@...ertech.it>
Subject: Re: [PATCH v1 5/5] rtc: rtc-cmos: Disable ACPI RTC event on removal
On Mon, Nov 07, 2022 at 09:03:06PM +0100, Rafael J. Wysocki wrote:
...
> +static inline void acpi_rtc_event_cleanup(void)
> +{
> + if (!acpi_disabled)
Btw, other functions look like using
if (acpi_disabled)
return;
pattern. Maybe here the same for the sake of consistency?
> + acpi_remove_fixed_event_handler(ACPI_EVENT_RTC, rtc_handler);
> +}
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists