Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: led: led_pwm: Fix PM callback error logging
If the underlying PWM device does not have a PM callback, the PWM LED driver will flood the console with error logs. The change ignores the error if there is no PM callback for the PWM device. (cherry picked from commit 78b4735) Original-Signed-off-by: Dennis Grijalva <dennisgrijalva@meta.com> GitOrigin-RevId: 78b4735 Change-Id: I09a79d560aeb33c00f46aeed647b57dd5d1652f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4962262 Tested-by: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-by: Al Semjonovs <asemjonovs@google.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Tested-by: Al Semjonovs <asemjonovs@google.com> Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
- Loading branch information