commit | 14f2461b822dffb116256ee9155f7eca96064f7a | [log] [tgz] |
---|---|---|
author | Crestez Dan Leonard <leonard.crestez@intel.com> | Fri May 20 17:44:36 2016 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat May 21 20:21:17 2016 +0100 |
tree | 112ebc33cc370bd71f2180bf5c307fdef4111ce3 | |
parent | 1cb0d06a00f2ec0ed8f926ec62f53bc9e12ea55e [diff] |
max44000: Remove scale from proximity This is not implemented and doesn't really make sense because IIO proximity is unit-less. Remove IIO_CHAN_INFO_SCALE from info_mask because so that the _scale sysfs entry won't appear. This fixes userspace tools like generic_buffer which abort when reads returns an error. Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>