diff options
author | 2016-08-16 20:43:37 +0200 | |
---|---|---|
committer | 2016-08-21 11:00:45 +0100 | |
commit | 522caebb2c3684f4a1d154526fb5e33f1381e92a (patch) | |
tree | ebdb600c0d9709f2cd5a5795890b410d11a2d189 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iio: adc: at91: unbreak channel adc channel 3 (diff) | |
download | linux-dev-522caebb2c3684f4a1d154526fb5e33f1381e92a.tar.xz linux-dev-522caebb2c3684f4a1d154526fb5e33f1381e92a.zip |
iio:ti-ads1015: fix a wrong pointer definition.
The call to i2c_get_clientdata(client) returns a struct iio_dev*, not
the needed struct ads1015_data*. We need here an intermediate step as
in the function: void ads1015_get_channels_config(struct i2c_client *client).
Signed-off-by: Giorgio Dal Molin <giorgio.nicole@arcor.de>
Fixes: ecc24e72f437 ("iio: adc: Add TI ADS1015 ADC driver support")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions