sysfs: pass function pointers to kernel (not just a value through attribute)