mfd: Use i2c_client as an argument on MAX8998 i2c routines
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 6 Aug 2010 02:28:06 +0000 (11:28 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:29:02 +0000 (00:29 +0200)
commit676e02d7a2ed9bb02994670a07df533a29a99de6
treef429e20f654790895b44aca9193b6082da2a9669
parent1203a1e6424d502e9c12d29512218487af5fdd1c
mfd: Use i2c_client as an argument on MAX8998 i2c routines

The MAX8998 chip have regulator and rtc features. The i2c slave address
of regulator and rtc is different, so needs each i2c client on i2c
operation functions.

Also, this patch exports i2c operation functions instead of callback to
make easy to read.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max8998.c
drivers/regulator/max8998.c
include/linux/mfd/max8998-private.h