This patchset enables userspace to know how many steps a respective potentiometer can support. Matt Ranostay (2): iio: potentiometer: tpl0102: switch to using pointer to chip config iio: potentiometer: tpl0102: add IIO_AVAIL_RANGE support drivers/iio/potentiometer/tpl0102.c | 41 +++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 11 deletions(-) -- 2.17.1