Re: [RFC PATCH] device-core: sysfs open - close notify
From: Enrico Weigelt
Date: Mon Nov 15 2010 - 22:28:11 EST
* Onkalo Samu <samu.p.onkalo@xxxxxxxxx> 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@xxxxxxxx
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
--
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/