OSDN Git Service

iio: potentiometer: tpl0102: add IIO_AVAIL_RANGE support
authorMatt Ranostay <matt.ranostay@konsulko.com>
Sun, 28 Oct 2018 20:43:54 +0000 (13:43 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 11 Nov 2018 15:29:45 +0000 (15:29 +0000)
commit74cf7b8614bc0ddad9ba00857b54cec1ef2ac635
tree3971cc85ba45d97755c571654af11084cbad2f75
parentfdbd710b35f2d58a51575c764d191101d46d271a
iio: potentiometer: tpl0102: add IIO_AVAIL_RANGE support

Report the step range of the respective potentiometers that are
possible to userspace.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiometer/tpl0102.c