summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2015-04-14 23:54:18 +0200
committerJonathan Cameron <jic23@kernel.org>2015-04-18 21:19:36 +0200
commit964e2255f1d73fc0136bc206a78a1f86bdad72a7 (patch)
tree335beb968144ccef20feaf945ebbb4e49135f168 /drivers/iio/pressure
parentiio: light: hid-sensor-prox: Fix modifier (diff)
downloadlinux-964e2255f1d73fc0136bc206a78a1f86bdad72a7.tar.xz
linux-964e2255f1d73fc0136bc206a78a1f86bdad72a7.zip
iio: pressure: hid-sensor-press: Fix modifier
Fix "null" in the raw attribute and scan elements. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure')
-rw-r--r--drivers/iio/pressure/hid-sensor-press.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/pressure/hid-sensor-press.c b/drivers/iio/pressure/hid-sensor-press.c
index 1af314926ebd..476a7d03d2ce 100644
--- a/drivers/iio/pressure/hid-sensor-press.c
+++ b/drivers/iio/pressure/hid-sensor-press.c
@@ -47,8 +47,6 @@ struct press_state {
static const struct iio_chan_spec press_channels[] = {
{
.type = IIO_PRESSURE,
- .modified = 1,
- .channel2 = IIO_NO_MOD,
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_OFFSET) |
BIT(IIO_CHAN_INFO_SCALE) |