Re: [linux-pm] [PATCH 0/6] [-mm]: ACPI: duplicate ACPI procfs functions in sysfs

David Brownell
2007-01-10T20:53:27Z

On Monday 08 January 2007 3:40 am, Zhang Rui wrote:
>
> if /sys/class/rtc/rtcN/alarm can provide the same function, it's great
> and I'll drop patch#03. I'll also mark /proc/acpi/alarm as deprecated if
> David's patches are merged. :)

One help there would be someone from the ACPI team signing off on
patch #3 of the series I sent, which teaches ACPI how to export the
extra registers to the rtc-cmos driver.

There will be another ACPI patch at some point, actually kicking
in hooks needed to handle system wakeup, but getting the PC into
the RTC class framework is an important first step.

Once there's a proper replacement for /proc/acpi/alarm it becomes
a candidate for removal. Maybe sooner rather than later, unless
some users for that old file turn up...

- Dave