iio: amplifiers: ad8366: Add write_raw_get_fmt function
authorBeniamin Bia <beniamin.bia@analog.com>
Thu, 6 Feb 2020 15:11:46 +0000 (17:11 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 21 Feb 2020 10:02:16 +0000 (10:02 +0000)
commit0cc97f2e46e0b374bbf7efc30bad638d8974cf1e
tree68fc8a6439fe4dfebc010aa14563756438a54cac
parentb8528224741b53100381b1382d35422f4b696abb
iio: amplifiers: ad8366: Add write_raw_get_fmt function

This patch add write_raw_get_fmt function to specify conversion for
hardware gain.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/amplifiers/ad8366.c