Re: [PATCH v2] drivers/base: Use attribute groups to create sysfs memory files

2013-06-04 Thread Nathan Fontenot
Update the sysfs memory code to create/delete files at the time of device and subsystem registration. The current code creates files in the root memory directory explicitly through the use of init_* routines. The files for each memory block are created and deleted explicitly using the mem_[create|

Re: [PATCH v2] drivers/base: Use attribute groups to create sysfs memory files

2013-05-31 Thread Cody P Schafer
On 05/31/2013 01:31 PM, Nathan Fontenot wrote: Update the sysfs memory code to create/delete files at the time of device and subsystem registration. The current code creates files in the root memory directory explicitly through the use of init_* routines. The files for each memory block are crea

[PATCH v2] drivers/base: Use attribute groups to create sysfs memory files

2013-05-31 Thread Nathan Fontenot
Update the sysfs memory code to create/delete files at the time of device and subsystem registration. The current code creates files in the root memory directory explicitly through the use of init_* routines. The files for each memory block are created and deleted explicitly using the mem_[create|