cpufreq: zzmoove governor v0.7d (aka. tamed beast)

Version 0.7d - broken things

Changelog:

- fixed hotplug up threshold tuneables to be able again to disable cores manually via sysfs by setting them to 0
- fixed the problem caused by a wrong tuneable apply order of non sticking values in hotplug down threshold tuneables when hotplug up values are lower than down values during apply.
NOTE: due to this change right after start of the governor the full validation of given values to these tuneables is disabled till all the tuneables were set for the first time. so if you set them for example with an init.d script or let them set automatically with any tuning app be aware that there are illogical value combinations possible then which might not work properly! simply be sure that all up values are higher than the down values and vice versa. after first set full validation checks are enabled again and setting of values manually will be checked again.
- fixed a typo in hotplug threshold tuneable macros (would have been only a issue in 8-core mode)
- fixed unwanted disabling of cores when setting hotplug threshold tuneables to lowest or highest possible value which would be a load of 100%/11% in up/down_hotplug_threshold and/or scaling frequency min/max in up/down_hotplug_threshold_freq

Version 0.7c - again compatibility and optimisations

Changelog:

- frequency search optimisation now fully compatible with ascending ordered system frequency tables (thx to psndna88 for testing)
- again minor optimisations at multiple points in dbs_check_cpu function
- code cleaning - removed some unnecessary things and whitespaces nuked (sry for the bigger diff but from now on it will be clean ;))
- corrected changelog for previous version regarding limits

Version 0.7b - compatibility improved and forgotten things

Changelog:

- fixed stuck at max scaling frequency when using stock kernel sources with unmodified cpufreq driver and without any oc capabilities.
- readded forgotten frequency search optimisation in scaling logic (only effective when using governor soft frequency limit)
- readded forgotten minor optimisation in dbs_check_cpu function
- as forgotten to switch in last version Legacy Mode now again disabled by default
- minor code format and comment fixes

Version 0.7a - little fix

Changelog:

- fixed a glitch in hotplug freq threshold tuneables which prevented setting of values in hotplug down freq thresholds when hotplug up freq thresholds were set to 0