diff options
author | Slawomir Stepien <sst@poczta.fm> | 2016-03-24 19:06:01 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-03 12:27:27 +0300 |
commit | 91307cbeca7fd372342aaea7e814a19156ee8e64 (patch) | |
tree | 0b6bf83bb03596c3ed3cf4a80be3b775657178e4 /lib/bch.c | |
parent | 51fadb985786929af9377245042b412302d2c9a2 (diff) | |
download | linux-91307cbeca7fd372342aaea7e814a19156ee8e64.tar.xz |
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>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions