1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 09:07:30 +02:00
openwrt-xburst/target/linux/s3c24xx/patches-2.6.26/1194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch

26 lines
916 B
Diff
Raw Normal View History

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