diff options
author | Dan Carpenter <error27@gmail.com> | 2023-03-23 18:23:56 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-04-10 12:26:33 +0100 |
commit | c4351b646123536048ea71cbcabe1cbd7f4e40c8 (patch) | |
tree | 0c9c0a27b5e5b19eb380c60e40077e9ad65f6e8f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46e33707fe95a21aa9896bded0be97285b779509 (diff) |
iio: adc: ti-ads1100: fix error code in probe()
This code has a copy and paste bug so it accidentally returns
"PTR_ERR(data->reg_vdd)" which is a valid pointer cast to int. It
should return "ret" instead.
Fixes: 541880542f2b ("iio: adc: Add TI ADS1100 and ADS1000")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/36fa2aeb-f392-4793-8b38-ae15514033c8@kili.mountain
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions