diff options
author | 2020-11-05 13:05:28 +0200 | |
---|---|---|
committer | 2020-11-24 11:25:19 +0100 | |
commit | a9d1c25004820b1fa7dcd99626ad5c73e023fb6d (patch) | |
tree | f35032fbe6de68a7662998c90dd92d4b3bd0dcec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: i2c-multi-instantiate: Drop redundant ACPI_PTR() (diff) | |
download | wireguard-linux-a9d1c25004820b1fa7dcd99626ad5c73e023fb6d.tar.xz wireguard-linux-a9d1c25004820b1fa7dcd99626ad5c73e023fb6d.zip |
platform/x86: i2c-multi-instantiate: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20201105110530.27888-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions