commit | 91307cbeca7fd372342aaea7e814a19156ee8e64 | [log] [tgz] |
---|---|---|
author | Slawomir Stepien <sst@poczta.fm> | Thu Mar 24 17:06:01 2016 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Apr 03 10:27:27 2016 +0100 |
tree | 0b6bf83bb03596c3ed3cf4a80be3b775657178e4 | |
parent | 51fadb985786929af9377245042b412302d2c9a2 [diff] |
iio: potentiometer: mcp4531: use pointer to access model parameters Use const pointer to element from model configuration array rather then array index, as it will not change anyway. Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Jonathan Cameron <jic23@kernel.org>