mfd: 88pm80x: Change chip id definition and detection
authorChao Xie <chao.xie@marvell.com>
Fri, 14 Jun 2013 05:21:51 +0000 (01:21 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 18 Jun 2013 07:41:10 +0000 (09:41 +0200)
commit03dcc544bff9ff36b9ac5e2b992a7a4890e6edc4
tree06dd1030dc9875f099c93674296e2b40cce3ee06
parent52705344d00512f0bb48c66478582bd10eb1750f
mfd: 88pm80x: Change chip id definition and detection

Change the chip id definition and detection and then:

1. We no longer need to add PM800_CHIP_XXX for the coming revision.
2. We no longer need to pass driver_data in i2c_device_id as we
   can distinguish the chips from the CHIP_ID register.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c
drivers/mfd/88pm80x.c
include/linux/mfd/88pm80x.h
This page took 0.029663 seconds and 5 git commands to generate.