Messages in this thread | | | Date | Tue, 16 Nov 2010 04:14:30 +0100 | From | Enrico Weigelt <> | Subject | Re: [RFC PATCH] device-core: sysfs open - close notify |
| |
* Onkalo Samu <samu.p.onkalo@nokia.com> wrote:
<snip />
Perhaps it also could be an more generic event notification op, where some event id or bitmask tells what actually happened ? Something like:
... void (*notify)(struct kobject *, struct attribute *, int event, void * param); ...
That would at least save one ptr of space and can be extended for other stuff later.
cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------
| |