02 Sep, 2010

1 commit

  • Add a call to of_node_put in the error handling code following a call to
    of_find_node_by_path.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r exists@
    local idexpression x;
    expression E,E1;
    statement S;
    @@

    *x =
    (of_find_node_by_path
    |of_find_node_by_name
    |of_find_node_by_phandle
    |of_get_parent
    |of_get_next_parent
    |of_get_next_child
    |of_find_compatible_node
    |of_match_node
    )(...);
    ...
    if (x == NULL) S
    ;
    |
    * return ...;
    )
    }
    ...>
    of_node_put(x);
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Benjamin Herrenschmidt

    Julia Lawall
     

07 Sep, 2009

1 commit

  • This is needed to get kde-powersave to work properly on some g4
    powerbooks.

    From: Olaf Hering
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Richard Purdie

    Olaf Hering
     

08 May, 2007

1 commit

  • The generic LED code now makes sure that suspended devices don't blink,
    so we no longer need to do it ourselves. For the suspend to disk case,
    however, we need to make sure that we don't blink if the PMU sysdev
    was suspended before the LED device.

    Signed-off-by: Johannes Berg
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Johannes Berg
     

27 Apr, 2007

1 commit


26 Apr, 2007

1 commit


13 Apr, 2007

2 commits


26 Mar, 2007

1 commit


31 Jul, 2006

1 commit

  • Now that get_property() returns a void *, there's no need to cast its
    return value. Also, treat the return value as const, so we can
    constify get_property later.

    powermac platform & macintosh driver changes.

    Built for pmac32_defconfig, g5_defconfig

    Signed-off-by: Jeremy Kerr
    Signed-off-by: Paul Mackerras

    Jeremy Kerr
     

07 Jul, 2006

1 commit


28 Jun, 2006

1 commit

  • This patch removes the old pmac ide led blink code and
    adds generic LED subsystem support for the LED.

    It maintains backward compatibility with the old
    BLK_DEV_IDE_PMAC_BLINK Kconfig option which now
    simply selects the new code and influences the
    default trigger.

    Signed-off-by: Johannes Berg
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Johannes Berg