Re: [PATCH] ams: remove usage of input_dev cdev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 20 September 2006 20:51, Aristeu Sergio Rozanski Filho wrote:
> This patch removes usage of 'cdev' member of input_dev, not present
> on that struct anymore.
> 

Where did it go?

> Signed-off-by: Aristeu S. Rozanski F. <[email protected]>
> 
> --- 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);
> 

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux