Revert "fsync: correct permissions, cleanup introduced whitespaces"

This reverts commit 3e2c6e4b5209f526854c85ba45809df0ed5f49f6.
Revert "fs: sync: add missing return if fsync is disabled from userspace."

This reverts commit a0d6fa600a7c95ec0b7da583b32ee7601e10fd64.
Revert "fs: sync: enable fsync by default."

This reverts commit bdda3879164e42badb5b52210d3c140070e4f1ea.
Revert "Added fsync on/off support."

This reverts commit 6e52212d42132f81b13c794100ad11bda3ac9d16.
fs/dyn_sync_cntrl: dynamic sync control 1.6 for OPO

While screen is on, file sync is disabled.
When screen is off, a file sync is called to flush all outstanding writes
and restore file sync operation as normal.

The dynamic sync control interface uses a hook in the OPO backlight driver.

By andip71 (aka Lord Boeffla)

Credits for original implementation and concept to Faux123
cpufreq: Add zzmoove governor v1.0 beta1

All credits to ZaneZam !!!

Changelog:

Version 1.0 beta1

- bump version to 1.0 beta1 because of brought forward plan 'outbreak'
- reworked scaling logic:
  removed unessesary calls of external cpufreq function and use a static variable instead to hold the system freq table during runtime
  fixed frequency stuck on max hard and soft frequency limit (under some circumstances freq was out of scope for the main search loop)
  and added precautions to avoid problems when for what ever reason the freq table is 'messed' or even not available for the governor
  fixed not properly working scaling with descend ordered frequency table like it is for example on qualcomm platform
  added additional propotional scaling mode (mode '1' as usual decide and use the lowest freq, new mode '2' use only propotional
  frequencies like ondemand governor does - switchable as before in 'scaling_proportional' tuneable)
- use static frequency table variable in all frequency checks agains system frequency table in the governor
- fixed 'update_ts_time_stat idle accounting' (kernel patch for kernel version 3.0.x needed, example available in github zzmoove repository)
- fixed non setting of scaling down threshold tuneables under some circumstances (issue on kernel 3.4 when running multible zzmoove instances)
- changed some variable names in scaling range evaluation and debugging tuneable
- added compatibility for kernel version 3.4 (or higher, but only tested on 3.4.0 yet)
- added support for powersuspend (used on some platforms since kernel version 3.4)
- added support for opo specific 'backlight ext control' (kernel patch for opo bacon devices needed, example available in github zzmoove repository)
- added macros to exclude hotplugging functionality (default in this version is disabled=commented for opo devices because of mpdecision
  in general and unmotivated kernel crashes when using it without mpdecision) in addition disable hopplugging per default if hotplugging
  code is used to avoid accetential usage of mpdecision and buildin governor hotplugging at the same time

profile header file (Version 0.3 beta1 OPO)

- bump version to 0.3 beta1 because of brought forward plan 'outbreak'
- removed dynamic freq scaling tuneable leftovers
- added macros to switch code depending of used power management implementation
  or used supend/resume backlight hook (opo specific)
- added macros to disable hotplugging
- adjusted values in all profiles for opo devices (not optimized just compatible -> WIP)
Activate Dynamic Fsync
Active ZZMove Govenor
cpufreq: Intellidemand - cover for moved get_cpu_idle_time function

(get_cpu_idle_time has been moved to cpufreq.c and extended by a parameter)
cpufreq: Smartmax - cover for moved get_cpu_idle_time function

(get_cpu_idle_time has been moved to cpufreq.c and extended by a parameter)
cpufreq: Wheatley - cover for moved get_cpu_idle_time function

(get_cpu_idle_time has been moved to cpufreq.c and extended by a parameter)