diff options
author | Andy Shevchenko <[email protected]> | 2018-11-28 13:45:25 +0200 |
---|---|---|
committer | Andy Shevchenko <[email protected]> | 2018-12-03 21:40:02 +0200 |
commit | 2dea645ffc21f927067e8e35147985887b1a843d (patch) | |
tree | 1161bd0416a590c8d50d4b2f12b47deb734e32d2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1aaeae493aad4d71f75f4129e676fbfcdf8b1422 (diff) |
i2c: acpi: Return error pointers from i2c_acpi_new_device()
The caller would like to know the reason why the i2c_acpi_new_device() fails.
For example, if adapter is not available, it might be in the future and we
would like to re-probe the clients again. But at the same time we would like to
bail out if the error seems unrecoverable, such as invalid argument supplied.
To achieve this, return error pointer in some cases.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions