diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-06-28 13:31:53 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-05 16:09:54 +0300 |
commit | 5919a0839bd65252f7306a0ee4879e697e00cab1 (patch) | |
tree | c6c14d62646e30d7ba85b916fb94d52bf7854776 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 68958bd5ca748beba1251937d6f6561e70e97c14 (diff) | |
download | linux-5919a0839bd65252f7306a0ee4879e697e00cab1.tar.xz |
iio:light:ltr501: fix variable in ltr501_init
When filling data->als_contr, the register content read into status needs
to be used, instead of the return status value of regmap_read.
Fixes: 8592a7eefa540 ("iio: ltr501: Add support for ltr559 chip")
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions