[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060921005158.GB16002@cathedrallabs.org>
Date: Wed, 20 Sep 2006 21:51:58 -0300
From: Aristeu Sergio Rozanski Filho <aris@...hedrallabs.org>
To: Michael Hanselmann <linux-kernel@...smi.ch>
Cc: akpm@...l.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ams: remove usage of input_dev cdev
This patch removes usage of 'cdev' member of input_dev, not present
on that struct anymore.
Signed-off-by: Aristeu S. Rozanski F. <aris@...hedrallabs.org>
--- mm.orig/drivers/hwmon/ams/ams-mouse.c 2006-09-20 13:57:59.000000000 -0300
+++ mm/drivers/hwmon/ams/ams-mouse.c 2006-09-20 21:01:59.000000000 -0300
@@ -66,7 +66,6 @@
ams_info.idev->name = "Apple Motion Sensor";
ams_info.idev->id.bustype = ams_info.bustype;
ams_info.idev->id.vendor = 0;
- ams_info.idev->cdev.dev = &ams_info.of_dev->dev;
input_set_abs_params(ams_info.idev, ABS_X, -50, 50, 3, 0);
input_set_abs_params(ams_info.idev, ABS_Y, -50, 50, 3, 0);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists