]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio: srf08: add support for srf02 in i2c mode
authorAndreas Klinger <ak@it-klinger.de>
Wed, 16 Aug 2017 19:34:54 +0000 (21:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Aug 2017 07:04:17 +0000 (08:04 +0100)
commitdc2696ba46600629738b310b9d79a0c4b982e15e
tree00bc2cc9b944a2ef41ddebea465850b18709b2b8
parentc5bf4a04467dca050784c9faef492ce17d268be9
iio: srf08: add support for srf02 in i2c mode

srf02 added with support for i2c interface

Attributes for setting max range or sensitivity are omitted for the case of
srf02 type sensor, because they are not supported by the hardware.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/Kconfig
drivers/iio/proximity/srf08.c