summaryrefslogtreecommitdiff
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-10-01 21:42:06 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-06 00:27:40 (GMT)
commit2f0c6b7593a590eef7fa35344da57380fcee7581 (patch)
treeb729d523dbb3fcdade4a6ce3a72027230a6b3fbb /fs/sysfs/dir.c
parentf9b9a6217cf10fd5d3002627cc13c4789a777213 (diff)
downloadlinux-fsl-qoriq-2f0c6b7593a590eef7fa35344da57380fcee7581.tar.xz
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 <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs/dir.c')
0 files changed, 0 insertions, 0 deletions