aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches/0194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch
blob: be3c0920ab67e4364e463bafb71dff010a35bed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From eedd1e2e0b89f085bf36f70cd9ca79a55eb7fde3 Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Fri, 25 Jul 2008 23:06:17 +0100
Subject: [PATCH] tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.patch

Signed-off-by: Andy Green <andy@openmoko.com>
---
 drivers/i2c/chips/pcf50633.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
index 4cb333c..62bd2d5 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);
-- 
1.5.6.3