Commit fcec89d
iio: adc: qcom-pm8xxx-xoadc: remove redundant error logs when reading values
Drop dev_err() logging for -EINVAL and -ETIMEDOUT cases and rely on
return values to report errors, reducing unnecessary log noise.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Antony Kurniawan Soemardi <linux@smankusors.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>1 parent 01b7517 commit fcec89d
1 file changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 538 | + | |
542 | 539 | | |
543 | 540 | | |
544 | 541 | | |
| |||
657 | 654 | | |
658 | 655 | | |
659 | 656 | | |
660 | | - | |
661 | | - | |
662 | | - | |
| 657 | + | |
663 | 658 | | |
664 | | - | |
665 | 659 | | |
666 | 660 | | |
667 | 661 | | |
| |||
677 | 671 | | |
678 | 672 | | |
679 | 673 | | |
680 | | - | |
681 | | - | |
682 | | - | |
| 674 | + | |
683 | 675 | | |
684 | | - | |
685 | 676 | | |
686 | 677 | | |
687 | 678 | | |
| |||
0 commit comments