summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorDavid Frey <dpfrey@gmail.com>2018-08-17 21:03:19 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-08-19 18:11:42 +0200
commit79fd571b7a4915cee0de64314ea08d8a2ffe8e78 (patch)
treef41b44cf0c2420e6e3ac80b9991537ccf714cf50 /drivers/misc
parentiio: chemical: bme680: use FIELD_GET macro (diff)
downloadlinux-79fd571b7a4915cee0de64314ea08d8a2ffe8e78.tar.xz
linux-79fd571b7a4915cee0de64314ea08d8a2ffe8e78.zip
iio: chemical: bme680: simplify oversampling handling
Temperature, pressure and humidity all expose and oversampling setting that works in the same way. Provide common handling for the oversampling sysfs attributes. Signed-off-by: David Frey <dpfrey@gmail.com> Reviewed-by: Himanshu Jha <himanshujha199640@gmail.com> Tested-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions