Commit 57c9eaa
thermal/drivers/qcom/temp-alarm: Use dev_err_probe
Use the dev_err_probe function instead of dev_err in the probe function
so that the printed message includes the return value and also handles
-EPROBE_DEFER nicely.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230625-spmi-temp-alarm-defer-v1-1-2d57acf36855@z3ntu.xyz1 parent 85b21fd commit 57c9eaa
1 file changed
Lines changed: 14 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
418 | 417 | | |
419 | 418 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
424 | 422 | | |
425 | 423 | | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
430 | 427 | | |
431 | 428 | | |
432 | 429 | | |
| |||
448 | 445 | | |
449 | 446 | | |
450 | 447 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
455 | 451 | | |
456 | 452 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
| 453 | + | |
| 454 | + | |
461 | 455 | | |
462 | 456 | | |
463 | 457 | | |
| |||
0 commit comments