Input: atmel_mxt_ts - update copyright line

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - remove unnecessary mxt_shutdown function

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: convert I2C drivers to use module_i2c_driver()

This patch converts the drivers in drivers/input/* 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>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Remove use of __devinit/__devexit/__devexit_p

CONFIG_HOTPLUG is going away as an option so these are no longer needed.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - remove inlines from mxt_obj_size/mxt_obj_instances

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - improve use of brackets in operations

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - reformat multiline comments as per CodingStyle

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - improve debug messages

Change debug level of various messages and slightly tweak a couple

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: delete non-required instances of include <linux/init.h>

None of these files are actually using any __init type directives
and hence don't need to include <linux/init.h>.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Input: atmel_mxt_ts - change EINTR to ERESTARTSYS in completion code

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - improve handling of T6 RESET messages

RESET is a one-off report indicating an already terminated condition. The
device does not generate a further message with a cleared bit.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - return success from interrupt handler during probe

This otherwise can cause the interrupt to be marked spurious if messages are
generated during probe.
Input: atmel_mxt_ts - Use correct printf specifier for size_t
Input: atmel_mxt_ts - change INIT_COMPLETION to reinit_completion

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - use separate pointer before krealloc

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - correctly free buffer on Info CRC error

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - handle errors from regulator_enable

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - return EINVAL if firmware format incorrect

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - use input_dev rather than separate flag

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Input: atmel_mxt_ts - remove misleading error in completion code