From: Tejun Heo Date: Thu, 12 Sep 2013 02:29:09 +0000 (-0400) Subject: sysfs: @name comes before @ns X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfec0bc835c84d3d3723d4955587f05a94879b26;p=pandora-kernel.git sysfs: @name comes before @ns Some internal sysfs functions which take explicit namespace argument are weird in that they place the optional @ns in front of @name which is contrary to the established convention. This is confusing and error-prone especially as @ns and @name may be interchanged without causing compilation warning. Swap the positions of @name and @ns in the following internal functions. sysfs_find_dirent() sysfs_rename() sysfs_hash_and_remove() sysfs_name_hash() sysfs_name_compare() create_dir() This patch doesn't introduce any functional changes. Signed-off-by: Tejun Heo Cc: Eric W. Biederman Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed