]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf235b70f9d64e85604d631efc39a22251b3c015f
treef429e20f654790895b44aca9193b6082da2a9669
parent7faf6b06d1f6515febc7a5c246e9d8c83c55f138
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