cpufreq: ACPI: policy->driver_data can't be NULL in ->exit()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 7 Apr 2016 08:36:58 +0000 (14:06 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 Apr 2016 23:41:50 +0000 (01:41 +0200)
commit9b55f55af8f017fec053c7eb0675241d057936da
tree6369bd682f0737072283db66b0d526c08eb67192
parenta794d6138cda391b6a9ba28c4cf27651415669c6
cpufreq: ACPI: policy->driver_data can't be NULL in ->exit()

Its always set by ->init() and so it will always be there in ->exit().
There is no need to have a special check for just that.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Rebase ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/acpi-cpufreq.c