misc: fsa9485: convert to use themodule_i2c_driver() macro

* Bring in line with caf&korg 3.4.y fsa9480 driver

MISC: convert drivers/misc/* to use module_i2c_driver()

This patch converts the drivers in drivers/misc/* to use the
module_i2c_driver() macro which makes the code smaller and a bit
simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Michael Hennerich <hennerich@blackfin.uclinux.org>
Cc: Anantha Narayanan <Anantha.Narayanan@intel.com>
Cc: Hemanth V <hemanthv@ti.com>
Cc: Christoph Mair <christoph.mair@gmail.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Ben Gardner <bgardner@wabtec.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Kalhan Trisal <kalhan.trisal@intel.com>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Cc: Daniel Mack <zonque@gmail.com>
Cc: Rodolfo Giometti <giometti@linux.it>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

misc: fsa9480: Remove obsolete cleanup for clientdata

A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit or error. This is obsolete meanwhile, the core will do it.

Change-Id: Ie172160e0b9241beca7bd22f38087070d15e6ec9
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d2: Remove board-m2-regulator. We use board-8960-regulator.

Change-Id: I9d10a8a3e1c3071af078f49c635182383e9bd5fa
msm: Forward-port Samsung's ramdump extensions

 * Port forward from the stock kernel source.
 * Necessary for debugging, no impact if disabled.

Change-Id: Iddad6c08a182f3207e4579712eb24cffc34ee898
msm: Move video firmware base down to the right location

Change-Id: Id80f07b2f07cf8387d9fe5ef14fde955393e827d
d2: Update defconfigs

 * Set ROW as default I/O scheduler, as it now provides a faster boot.
 * Raise default loglevel to 7 for better last_kmsg logs.

Change-Id: I8b1cb3da3f42f2aa4dedd13db7e3658c98744ef7
Revert "msm: pm-8x60: Do not default to WFI when not enabled"

This reverts commit 10bc53532071915f3a19091b8c3db39bfe404263.
msm: hotplug: wait for hotplug completion event from secondary core

Primary core has to wait for hotplug completion event from secondary
core to avoid race between ongoing hotplug and already queued online
event. This also prevent CPU_DEAD notifiers from executing before the
SPM has completed the collapse of the CPU. CPU DEAD notifiers executing
early have been attributed to MDD hardware block for the CPU being
turned off prematurely, resulting in crashes.

The patch also adds support for probing with device tree for 8974
targets.

Change-Id: I8c155324adfee35825181bbf7b28a52b87ca2938
CRs-fixed: 438314,457541
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
msm: pm: Add support to query cpu status

During hotplug operation primary core is required to query
cpu registers to determine whether secondary core has
successfully shutdown.

Change-Id: I9dc359e2af20f79127a74f2c087fa39614f18957
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
d2: Add sleep status device

Change-Id: Ie0a3eb1376eff7fa48c28841c47d997a54f62943