Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpufreq: loongson3: Check for error code from devm_mutex_init() call
Even if it's not critical, the avoidance of checking the error code from devm_mutex_init() call today diminishes the point of using devm variant of it. Tomorrow it may even leak something. Add the missed check. Fixes: ccf5145 ("cpufreq: Add Loongson-3 CPUFreq driver support") Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
- Loading branch information