diff options
| author | Yang Yingliang <[email protected]> | 2022-09-27 15:40:21 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2022-10-18 10:52:26 +0000 |
| commit | 889a50aedcd216cc5f2b98bb2412f0498d417721 (patch) | |
| tree | 13508d828e84f8b171322e6b51f7a2819f0482bd /drivers/platform/x86/intel/pmt/class.c | |
| parent | cpufreq: qcom-nvmem: Switch to use dev_err_probe() helper (diff) | |
| download | kernel-889a50aedcd216cc5f2b98bb2412f0498d417721.tar.gz kernel-889a50aedcd216cc5f2b98bb2412f0498d417721.zip | |
cpufreq: sun50i: Switch to use dev_err_probe() helper
In the probe path, convert pr_err() to dev_err_probe() which will
check if error code is -EPROBE_DEFER and prints the error name.
It also sets the defer probe reason which can be checked later
through debugfs. It's more simple in error path.
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
