lkml.org 
[lkml]   [2022]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2022-11-07 22:29    [W:0.106 / U:1.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site