diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-21 03:08:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 22:24:54 +0300 |
commit | ca1bab38195d66bdf42320a99cc7359434a271d3 (patch) | |
tree | 4394403b4a85fb269d052b7852b41ee0f7ba8a88 /include/linux/platform_device.h | |
parent | 832b6af198aefe6034310e124594cc8b833c0ef9 (diff) | |
download | linux-ca1bab38195d66bdf42320a99cc7359434a271d3.tar.xz |
sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir
These two functions do 90% of the same work and it doesn't significantly
obfuscate the function to allow both the parent dir and the name to change
at the same time. So merge them together to simplify maintenance, and
increase testing.
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/platform_device.h')
0 files changed, 0 insertions, 0 deletions