From: Michael Hennerich Date: Thu, 1 Mar 2012 09:51:03 +0000 (+0100) Subject: staging: iio: core: Introduce debugfs support, add support for direct register access X-Git-Tag: v3.4-rc1~186^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e553f182d55bd268fea3f106368e2344141c212a;p=pandora-kernel.git 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 Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed