[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150129143548.GA9723@kroah.com>
Date: Thu, 29 Jan 2015 06:35:48 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Takashi Iwai <tiwai@...e.de>
Cc: linux-kernel@...r.kernel.org
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@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists