aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/hid-sensor-als.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-02-27 14:03:04 -0500
committerJonathan Cameron <jic23@kernel.org>2013-03-17 15:49:18 -0400
commitecbe18f2c3428aa1412e1174196506e3655a7e82 (patch)
treec13ab53ca88e44920aecc580084cde04ad2871c7 /drivers/iio/light/hid-sensor-als.c
parentfa357a6a48420ff6dac6425b235830036ff3dc47 (diff)
iio:hid_sensors move to info_mask_(shared_by_type/separate)
The original info_mask is going away in favour of the broken out versions. Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/hid-sensor-als.c')
-rw-r--r--drivers/iio/light/hid-sensor-als.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/light/hid-sensor-als.c b/drivers/iio/light/hid-sensor-als.c
index 3d7e8c9b4beb..80d68ff02d29 100644
--- a/drivers/iio/light/hid-sensor-als.c
+++ b/drivers/iio/light/hid-sensor-als.c
@@ -49,10 +49,10 @@ static const struct iio_chan_spec als_channels[] = {
49 .type = IIO_INTENSITY, 49 .type = IIO_INTENSITY,
50 .modified = 1, 50 .modified = 1,
51 .channel2 = IIO_MOD_LIGHT_BOTH, 51 .channel2 = IIO_MOD_LIGHT_BOTH,
52 .info_mask = IIO_CHAN_INFO_OFFSET_SHARED_BIT | 52 .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_OFFSET) |
53 IIO_CHAN_INFO_SCALE_SHARED_BIT | 53 BIT(IIO_CHAN_INFO_SCALE) |
54 IIO_CHAN_INFO_SAMP_FREQ_SHARED_BIT | 54 BIT(IIO_CHAN_INFO_SAMP_FREQ) |
55 IIO_CHAN_INFO_HYSTERESIS_SHARED_BIT, 55 BIT(IIO_CHAN_INFO_HYSTERESIS),
56 .scan_index = CHANNEL_SCAN_INDEX_ILLUM, 56 .scan_index = CHANNEL_SCAN_INDEX_ILLUM,
57 } 57 }
58}; 58};