diff options
author | 2014-06-20 20:22:00 +0100 | |
---|---|---|
committer | 2014-06-21 11:35:30 +0100 | |
commit | b70e19c222a64018d308ebc80333575aff9f4e51 (patch) | |
tree | 93665f41330e5e33a281bc4925b5b714885be9b1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iio:adc:ad799x: Fix reading and writing of event values, apply shift (diff) | |
download | linux-dev-b70e19c222a64018d308ebc80333575aff9f4e51.tar.xz linux-dev-b70e19c222a64018d308ebc80333575aff9f4e51.zip |
staging: iio/ad7291: fix error code in ad7291_probe()
We should be returning a negative error code instead of success here.
This would have been detected by GCC, except that the "ret" variable was
initialized with a bogus value to disable GCC's uninitialized variable
warnings. I've cleaned that up, as well.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions