diff options
author | 2023-11-28 20:06:03 +0200 | |
---|---|---|
committer | 2023-12-11 06:21:01 -0800 | |
commit | df989762bc4b71068e6adc0c2b5ef6f76b6acf74 (patch) | |
tree | 918544ffb1bed300db1c8e6e9d2a234666c35f6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (tmp513) Don't use "proxy" headers (diff) | |
download | wireguard-linux-df989762bc4b71068e6adc0c2b5ef6f76b6acf74.tar.xz wireguard-linux-df989762bc4b71068e6adc0c2b5ef6f76b6acf74.zip |
hwmon: (tmp513) Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231128180654.395692-3-andriy.shevchenko@linux.intel.com
[groeck: Fixed excessive line length]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions