async: introduce 'async_domain' type

This is in preparation for teaching async_synchronize_full() to sync all
pending async work, and not just on the async_running domain.  This
conversion is functionally equivalent, just embedding the existing list
in a new async_domain type.

The .registered attribute is used in a later patch to distinguish
between domains that want to be flushed by async_synchronize_full()
versus those that only expect async_synchronize_{full|cookie}_domain to
be used for flushing.

Change-Id: I9ab0a06052d05da47c0a3d7f3ebc55e3968aa3cc
[jejb: add async.h to scsi_priv.h for struct async_domain]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: flar2 <asegaert@gmail.com>
msm: thermal: improve some codes.

Change-Id: I4ced891629f50d6a4209963fd187466aa57b2b50
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Franco msm: thermal: add my msm thermal code.

Change-Id: I324f24df67a7bb8dff7991850c1eb64065fe9d81
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: thermal: there's no need to ask for a policy, we can simply lift the limit with LONG_MAX. Also queue only on cpu0.

Change-Id: Ide1b56cfa95de03e955bc238ec70ab2bf55697c8
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: thermal: make sure we actually want to go through with the policy adjust since this can be triggered by any policy update with the cPUFREQ_ADJUST flag.

Change-Id: Iddabc1aea69cff30a0db58dbcd1c1f302e19c0cd
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Switching to Francos Thermal

Change-Id: I71854d21456b6840cdc1f0372ad6d01cdfb462cb
msm: thermal: refactor the code.

Change-Id: Ic581705b8f7ad0355223a4d38c4992acee199266
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
arm: hammerhead: Use LGE rfkill driver

Port rfkill driver from android-msm-dory-3.10-kitkat-wear.

Change-Id: I0427a35a9bc237de36bb185e214c7464523d0011
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>