iio: pressure: ms5611: Add IIO_CHAN_INFO_SCALE to mask
authorDaniel Baluta <daniel.baluta@intel.com>
Wed, 3 Feb 2016 16:50:37 +0000 (18:50 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 6 Feb 2016 18:18:11 +0000 (18:18 +0000)
commit1ad1ce9b669095bfe94c32ecd19f2a426837eb93
tree0ddf6fbca5261eb72726a9a90fcac28ab5c965b7
parent478375cedcc0ae5b4cadd29ee5f74c3a5cb5d2ad
iio: pressure: ms5611: Add IIO_CHAN_INFO_SCALE to mask

This allows data exported via buffer interface to be converted
to standard units in userspace.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/ms5611_core.c