iio: pressure: hid-sensor-press: Fix modifier
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 14 Apr 2015 21:54:18 +0000 (14:54 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sat, 18 Apr 2015 19:19:36 +0000 (20:19 +0100)
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>
drivers/iio/pressure/hid-sensor-press.c

index 1af314926ebd1f94ae422394aa186af7a05557bd..476a7d03d2ce4c9559225e6d00514a2038974319 100644 (file)
@@ -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) |