cpufreq: Print driver name if cpufreq_suspend() fails
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 21 Aug 2019 23:16:32 +0000 (16:16 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Aug 2019 07:27:25 +0000 (09:27 +0200)
commite9a7cc1d97f13f11970f7c484bdfc0502efc4223
treea44fa943c19d4ad029c6f8794d63e21b7ea6b628
parentda5c504c7aae96db68c4b38e2564a88e91842d89
cpufreq: Print driver name if cpufreq_suspend() fails

Instead of printing the policy, which is incidentally a kernel pointer,
so with limited interest, print the cpufreq driver name that failed to
be suspend, which is more useful for debugging.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c