attribute文件的读写流程
1:vfs---->sysfs---->kobject---->attibute---->kobj_type---->sysfs_ops---->xxx_attribute,其中kobj_type、sysfs_ops和xxx_attribute都是由包含kobject的上层数据结构实现,例如 struct device等。
2:driver属性文件读写流程:vfs---->sysfs---->kobject---->attribute---->driver_attribute。