Re: sysfs and power management

Alan Cox
2010-10-27T14:29:17Z

> Do you mean per device hook and each sysfs open / close uses
> per device ref-counting.

Or you can do it by having an optional per device hook which is passed
the sysfs node for each open/close and leave the rest up to the driver.
If it needs to do clever stuff it can.

Alan