diff options
| author | Andy Shevchenko <[email protected]> | 2023-11-28 20:06:03 +0200 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2023-12-11 06:21:01 -0800 |
| commit | df989762bc4b71068e6adc0c2b5ef6f76b6acf74 (patch) | |
| tree | 918544ffb1bed300db1c8e6e9d2a234666c35f6b /tools/perf/scripts/python/bin | |
| parent | 5d9ad4e0fa7cc27199fdb94beb6ec5f655ba9489 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Fixed excessive line length]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions