]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86: rtc: Drop PNP device check
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Feb 2026 15:31:49 +0000 (16:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 26 Feb 2026 17:48:43 +0000 (18:48 +0100)
commit0139085310c40853cc429d5c38fd66e540c97d34
tree71efa78c75fc17f1a753e4eaaccbfc8f1c0732bc
parentd15f1c2e413e861270ca6aa5dc5d9da1bcd678ca
x86: rtc: Drop PNP device check

Previous changes effectively prevented PNP devices from being created
for the CMOS RTC on x86 with ACPI.

Although in principle a CMOS RTC PNP device may exist on an x86 system
without ACPI (that is, an x86 system where there is no ACPI at all, not
one booted with ACPI disabled), such systems were there in the field ~30
years ago and most likely they would not be able to run a contemporary
Linux kernel.

For the above reasons, drop the PNP device check from add_rtc_cmos().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com> # x86
Link: https://patch.msgid.link/8660687.T7Z3S40VBb@rafael.j.wysocki
arch/x86/kernel/rtc.c