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

David Brownell
2007-01-25T13:15:57Z

On Thursday 25 January 2007 4:08 am, Pavel Machek wrote:
> On Wed 2007-01-24 21:28:13, Len Brown wrote:
> > On Monday 08 January 2007 08:13, Pavel Machek wrote:
> > > Hi!
> > >
> > > > This patch set is against acpi-test sysfs branch which already converts
> > > > ACPI to follow driver model. Now the ACPI procfs functions are
> > > > duplicated in sysfs step by step. And I want the ACPI interface in sysfs
> > > > works exactly the same way as in procfs.
> > >
> > > No, you can't port same broken interface into sysfs. Some /proc
> > > interfaces are horrible, and we do not want to create _exactly same_
> > > horrible interfaces in /sys.
> >
> > Please be specific.
>
> /proc/acpi/alarm is horrible mess, as was detailed in another email

ditto /proc/acpi/wakeup, and all those empty /proc/acpi directories