From: Takashi Iwai Date: Thu, 29 Jan 2015 11:29:22 +0000 (+0100) Subject: drivers/base/node: Avoid manual device_create_file() calls X-Git-Tag: omap-for-v4.1/fixes-rc1~166^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9b8aaf95bb4de3d8ac9fd83d4aca2c97bd9f2a;p=pandora-kernel.git drivers/base/node: Avoid manual device_create_file() calls 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed