aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:09:52 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:52 +0000
commitc00dfa01818b66445e8e359ed59a4038aba148c8 (patch)
tree9ad1e9f2386a09c9e4944161696056a8766a9318 /drivers/i2c
parent8e9b52fe10c93f12a1a462b0cf54d48ded332862 (diff)
tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/chips/pcf50633.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
index 4cb333c9ba3..62bd2d511e0 100644
--- a/drivers/i2c/chips/pcf50633.c
+++ b/drivers/i2c/chips/pcf50633.c
@@ -2143,7 +2143,6 @@ static int pcf50633_detect(struct i2c_adapter *adapter, int address, int kind)
pcf->input_dev->name = "GTA02 PMU events";
pcf->input_dev->phys = "FIXME";
pcf->input_dev->id.bustype = BUS_I2C;
- pcf->input_dev->cdev.dev = &new_client->dev;
pcf->input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_PWR);
set_bit(KEY_POWER, pcf->input_dev->keybit);