From: Tejun Heo Date: Tue, 1 Oct 2013 21:42:06 +0000 (-0400) Subject: sysfs: add sysfs_bin_read() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f0c6b7593a590eef7fa35344da57380fcee7581;p=pandora-kernel.git sysfs: add sysfs_bin_read() sysfs bin file handling will be merged into the regular file support. This patch prepares the read path. Copy fs/sysfs/bin.c::read() to fs/sysfs/file.c and make it use sysfs_open_file instead of bin_buffer. The function is identical copy except for the use of sysfs_open_file. The new function is added to sysfs_bin_operations. This isn't used yet but will eventually replace fs/sysfs/bin.c. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed