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

2013-05-21 Thread Greg Kroah-Hartman
On Wed, May 08, 2013 at 11:09:48AM -0500, 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

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

2013-05-08 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|