diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2012-03-01 10:51:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-02 16:35:39 -0800 |
commit | e553f182d55bd268fea3f106368e2344141c212a (patch) | |
tree | 0203a2d354d4f61001f4f2a89bdc39d3094c75a2 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 4abf6f8b29e37f492078173a9d4cb808ce327ec0 (diff) |
staging: iio: core: Introduce debugfs support, add support for direct register access
Changes since V1:
Exclude iio debugfs code in case CONFIG_DEBUG_FS isn't enabled.
Introduce helper function iio_get_debugfs_dentry.
Document additions to struct iio_dev
iio_debugfs_read_reg:
Use snprintf.
Use a shorter fixed length.
Introduce len instead of pointer math.
iio_debugfs_write_reg:
Fix return value use PT_ERR.
Changes since V2:
Use debugfs_remove.
Fix whitespace damage.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions