diff options
author | Anson Huang <[email protected]> | 2020-08-17 15:34:33 +0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2020-09-23 09:42:40 -0700 |
commit | 65b2aad0699b3915cc3a5afee0a382eda0fc93b5 (patch) | |
tree | 8fac6d7c56a577afd66567d9a65ecf959ae3f1ea /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4e1b4d22279188e63546838144399a6dde44a5aa (diff) |
hwmon: (pwm-fan) Use dev_err_probe() to simplify error handling
dev_err_probe() can reduce code size, uniform error handling and record the
defer probe reason etc., use it to simplify the code.
Signed-off-by: Anson Huang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions