Messages in this thread | | | Date | Thu, 29 Jan 2015 06:35:48 -0800 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] drivers/base/node: Avoid manual device_create_file() calls |
| |
On Thu, Jan 29, 2015 at 12:29:22PM +0100, Takashi Iwai wrote: > Instead of manual calls of multiple device_create_file() and > device_remove_file(), use the static attribute groups assigned to the > new device. This also fixes the possible races, too. > > Signed-off-by: Takashi Iwai <tiwai@suse.de> > --- > drivers/base/node.c | 34 ++++++++++++++++++++-------------- > 1 file changed, 20 insertions(+), 14 deletions(-)
Looks good, I'll queue this up soon, thanks for doing it.
greg k-h
| |