CHROMIUM: Input: atmel_mxt_ts - move mxt_intialize
authorDaniel Kurtz <djkurtz@chromium.org>
Tue, 24 Apr 2012 11:29:14 +0000 (19:29 +0800)
committerGrant Grundler <grundler@google.com>
Thu, 24 May 2012 22:12:09 +0000 (15:12 -0700)
commit0301857e88c3dd063c69c5482ec9195615458131
tree1b222d9d49cea0d78a8c0ca4dcfb688c08ec75b6
parentaba06680180a4017588421e666e333fab2ed1d24
CHROMIUM: Input: atmel_mxt_ts - move mxt_intialize

Refactor only; no functional change.
This patch is in preparation for moving device creation and irq request
into mxt_initialize.  This will move all non-bootloader initialization
into a single function that can be called:
  a) on probe(), if device is using the APP i2c address
  b) after update_fw
  c) after updating device configuration

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
BUG=chromium-os:11197
TEST=builds clean; no functional change

Change-Id: I66c23f5922e013edeb8caa75788931792c16d2d8
Reviewed-on: https://gerrit.chromium.org/gerrit/20849
Commit-Ready: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
drivers/input/touchscreen/atmel_mxt_ts.c