mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers
authorSebastian Reichel <sre@debian.org>
Sun, 16 Mar 2014 01:43:29 +0000 (02:43 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 18 Mar 2014 08:15:50 +0000 (08:15 +0000)
commit168ae30802368deadccaa8a8e85057efbae22975
treeaca9cf8b6d10bc2b243cc931abadb4a160164377
parent204dfd63a07ec4785fc786ff3511d85eb1346b7b
mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers

Simplify reading and writing of 16 bit TWL registers in the
driver by using twl_i2c_read_u16 and twl_i2c_write_u16.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Tested-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl4030-madc.c