Re: sysfs and power management

From: Alan Cox
Date: Wed Oct 27 2010 - 10:29:20 EST


> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/