11 Jan, 2012

2 commits


28 Jun, 2011

1 commit

  • Fix this section mismatch:

    WARNING: drivers/leds/leds-lp5523.o(.text+0x12f4): Section mismatch in reference from the function lp5523_probe() to the function .init.text:lp5523_init_led()
    The function lp5523_probe() references
    the function __init lp5523_init_led().
    This is often because lp5523_probe lacks a __init
    annotation or the annotation of lp5523_init_led is wrong.

    Fixing this one triggers one more mismatch, fix that one as well.

    Signed-off-by: Ralf Baechle
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     

23 Mar, 2011

1 commit


14 Jan, 2011

2 commits

  • Driver contained possibility for circular locking.

    One lock is held by sysfs-core and another one by the driver itself. This
    happened when the driver created or removed sysfs entries dynamically.
    There is no real need to do those operations. Now all the sysfs entries
    are created at probe and removed at removal. Engine load and mux
    configuration sysfs entries are now visible all the time. However, access
    to the entries fails if the engine is disabled or running.

    Signed-off-by: Samu Onkalo
    Cc: Arun Murthy
    Reviewed-by: Ilkka Koskinen
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     
  • Currently all leds channels begins with string lp5523. Patch adds a
    possibility to provide name via platform data. This makes it possible to
    have several chips without overlapping sysfs names.

    Signed-off-by: Samu Onkalo
    Cc: Arun Murthy
    Cc: Ilkka Koskinen
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     

25 Nov, 2010

3 commits


12 Nov, 2010

1 commit