cpufreq: Manage only online cpus - by Viresh Kumar from anarkia1976/AK-xGenesis

cpufreq core doesn't manage offline cpus and if driver->init() has returned
mask including offline cpus, it may result in unwanted behavior by cpufreq core
or governors.

We need to get only online cpus in this mask. There are two places to fix this
mask, cpufreq core and cpufreq driver. It makes sense to do this at common place
and hence is done in core.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

https://github.com/anarkia1976/AK-xGenesis/commit/0556271c767071cd236ddb1509fa682d6bd498e8#diff-9cb8d0039fb739eef0bd6253de2acdd9R1106