sysfs: make sysfs_addrm_finish() return void
authorTejun Heo <htejun@gmail.com>
Thu, 2 Aug 2007 12:38:03 +0000 (21:38 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:04 +0000 (14:51 -0700)
commit990e53f880be9ff93072b4cce590ec2826cee0b6
treefaa7cbedef2f1d9b8d27832ccbaa28e508d134e8
parent23dc279950a056c33a14d09cf759f5173d41abd9
sysfs: make sysfs_addrm_finish() return void

With the previous sysfs_add_one() update, there is only one user of
the return value of sysfs_addrm_finish() and the user can switch to
testing @sd easily.  Make sysfs_addrm_finish() return void for cleaner
semantics as suggested by Satyam Sharma.

This patch doesn't introduce any noticeable behavior change.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Satyam Sharma <satyam.sharma@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
fs/sysfs/inode.c
fs/sysfs/sysfs.h