20 May, 2010

14 commits


18 May, 2010

4 commits


17 May, 2010

13 commits


24 Apr, 2010

1 commit


13 Apr, 2010

6 commits

  • -tip testing found:

    eeepc-wmi.c:(.text+0x36673c): undefined reference to `sparse_keymap_report_event'
    drivers/built-in.o: In function `eeepc_wmi_init':
    eeepc-wmi.c:(.init.text+0x19cd0): undefined reference to `sparse_keymap_setup'
    eeepc-wmi.c:(.init.text+0x19cf0): undefined reference to `sparse_keymap_free'
    eeepc-wmi.c:(.init.text+0x19d0b): undefined reference to `sparse_keymap_free'
    drivers/built-in.o: In function `eeepc_wmi_exit':
    eeepc-wmi.c:(.exit.text+0x2e87): undefined reference to `sparse_keymap_free'

    To fix this select INPUT_SPARSEKMAP, like the ASUS driver does.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Matthew Garrett

    Ingo Molnar
     
  • We were storing -1 as an unsigned int and as a result the effect of
    passing -1 was the same as using 1.

    Signed-off-by: Dan Carpenter
    Signed-off-by: Matthew Garrett
    Acked-by: Corentin Chary

    Dan Carpenter
     
  • The output of wmi_get_event_data shall be freed before return.

    Signed-off-by: Matthew Garrett
    Signed-off-by: Yong Wang

    Yong Wang
     
  • Add backlight support for WMI based Eee PC laptops.

    Signed-off-by: Yong Wang
    Signed-off-by: Matthew Garrett
    Reviewed-by: Corentin Chary

    Yong Wang
     
  • Add a platform device and use it as the parent device of all sub-devices.

    Signed-off-by: Yong Wang
    Signed-off-by: Matthew Garrett
    Reviewed-by: Corentin Chary

    Yong Wang
     
  • Add an eeepc_wmi context structure to manage all the sub-devices
    that will be implemented later on. Put input device into it first.

    Signed-off-by: Yong Wang
    Signed-off-by: Matthew Garrett
    Reviewed-by: Corentin Chary

    Yong Wang
     

07 Apr, 2010

1 commit

  • Made necessary by 6992f5334995af474c2b58d010d08bc597f0f2fe ("sysfs: Use
    one lockdep class per sysfs attribute").

    Prevents further "key xxx not in .data" bug-reports. Although some
    attributes could probably be converted to static ones, this is left for
    people having hardware to test.

    Found by this semantic patch:

    @ init @
    type T;
    identifier A;
    @@

    T {
    ...
    struct device_attribute A;
    ...
    };

    @ main extends init @
    expression E;
    statement S;
    identifier err;
    T *name;
    @@

    ... when != sysfs_attr_init(&name->A.attr);
    (
    + sysfs_attr_init(&name->A.attr);
    if (device_create_file(E, &name->A))
    S
    |
    + sysfs_attr_init(&name->A.attr);
    err = device_create_file(E, &name->A);
    )

    While reviewing, I put the initialization to apropriate places.

    Signed-off-by: Wolfram Sang
    Cc: Eric W. Biederman
    Cc: Greg KH
    Cc: Benjamin Herrenschmidt
    Cc: Grant Likely
    Cc: Mike Isely
    Cc: Mauro Carvalho Chehab
    Cc: Sujith Thomas
    Cc: Matthew Garrett
    Cc: Len Brown
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wolfram Sang
     

05 Apr, 2010

1 commit