Skip to content

Commit

Permalink
iio: pressure: hid-sensor-press: Fix modifier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Srinivas Pandruvada authored and Jonathan Cameron committed Apr 18, 2015
1 parent c2aab3d commit 964e225
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/iio/pressure/hid-sensor-press.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down

0 comments on commit 964e225

Please sign in to comment.