diff options
author | Axel Lin <[email protected]> | 2010-11-08 20:40:34 -0500 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2010-11-11 09:32:07 -0800 |
commit | f0030d87be3cb2eb9eac633d09cb5d9f107ed0c6 (patch) | |
tree | a75cfa0e336e81c5bfcbd958a98a153ec39c80d6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f7334b4ca9108a86b64fbd0f435f44b2113ee053 (diff) |
hwmon: (ad7414) Return proper error code for ad7414_probe()
Return proper error if i2c_check_functionality reports
the adapter does not support the capability we need.
Also remove unneeded initialization for err variable.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Sean MacLennan <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions