lkml.org 
[lkml]   [2006]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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@cathedrallabs.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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-09-21 02:57    [W:2.222 / U:1.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site