On paź 24, 2018 11:38, Matt Ranostay wrote: > 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@xxxxxxxxxxxx> > --- > drivers/iio/potentiometer/tpl0102.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Looks good to me. Reviewed-by: Slawomir Stepien <sst@xxxxxxxxx> -- Slawomir Stepien