11 Jan, 2012

1 commit

  • Factor out some boilerplate code for platform driver registration into
    module_platform_driver.

    Signed-off-by: Axel Lin
    Acked-by: Haojian Zhuang [led-88pm860x.c]
    Acked-by: Mark Brown
    Cc: Richard Purdie
    Cc: Michael Hennerich
    Cc: Mike Rapoport
    Cc: Guennadi Liakhovetski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Axel Lin
     

01 Nov, 2011

1 commit


08 Oct, 2010

1 commit

  • dev_set_drvdata() can't be used to set the driver private data pointer.
    This would overwrite the led classdev object previously registered by
    led_classdev_register().

    Note that despite this mistake, the driver work fine because led_dat and
    led_dat->cdev are at the same memory address.

    Signed-off-by: Simon Guinot
    Signed-off-by: Nicolas Pitre

    Simon Guinot
     

20 Sep, 2010

1 commit

  • This patch replace all the lock functions with the irq safe variant.
    The ns2_led_{set,get}_mode() functions must be safe in all context.

    For example, the trigger timer call led_set_brightness() in a softirq
    context.

    Signed-off-by: Simon Guinot
    Signed-off-by: Nicolas Pitre

    Simon Guinot
     

17 Jul, 2010

1 commit

  • This patch add a LED class driver for the dual-GPIO LEDs found on the
    Network Space v2 board (and parents). This include Internet Space v2,
    Network Space (Max) v2 and d2 Network v2 boards.

    This dual-GPIO LED is wired to a CPLD and can blink in relation with the
    SATA activity. The driver expose this capability through a "sata" sysfs
    attribute.

    Signed-off-by: Simon Guinot
    Signed-off-by: Nicolas Pitre

    Simon Guinot