commit | ee2303515e7555abb93297d8b8d8a55b0d156388 | [log] [tgz] |
---|---|---|
author | Matt Ranostay <matt.ranostay@konsulko.com> | Wed Oct 24 11:38:57 2018 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Nov 11 15:29:42 2018 +0000 |
tree | e6332bf7d83df497c42534f70b76f99d02d3f3d5 | |
parent | 80fc9c457e99a6f568a56743dcd8ad8851723f5f [diff] |
iio: potentiometer: tpl0102: switch to using pointer to chip config More concise to have a pointer to tpl0102_cfg struct in the iio_priv data than an integer to an index of an array. Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>