Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regulators are optional for devices using OPPs and the OPP core shouldn't be printing any errors for such missing regulators. It was fine before the commit 0c717d0, but that failed to update this part of the code to remove an 'always true' check and an extra unwanted print message. Fix that now. Fixes: 0c717d0 (PM / OPP: Initialize regulator pointer to an error value) Reported-by: Marc Gonzalez <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
- Loading branch information