23 Nov, 2016

1 commit


23 Jun, 2015

1 commit

  • This file is built for a bool Kconfig variable, and hence this
    code is either present or absent. It currently can never be
    modular, so using module_init as an alias for __initcall can be
    somewhat misleading.

    Fix this up now, so that we can relocate module_init from
    init.h into module.h in the future. If we don't do this, we'd
    have to add module.h to obviously non-modular code, and that
    would be a worse thing.

    Note that direct use of __initcall is discouraged, vs. one
    of the priority categorized subgroups. As __initcall gets
    mapped onto device_initcall, our use of device_initcall
    directly in this change means that the runtime impact is
    zero -- it will remain at level 6 in initcall ordering.

    And since it can't be modular, we remove all the __exitcall
    stuff related to module_exit() -- it is dead code that won't
    ever be executed.

    Cc: Richard Purdie
    Cc: linux-leds@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Acked-by: Jacek Anaszewski
    Signed-off-by: Bryan Wu

    Paul Gortmaker
     

20 Oct, 2014

1 commit


16 Dec, 2012

1 commit

  • Pull LED subsystem update from Bryan Wu.

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: (47 commits)
    leds: leds-lp5521: return an error code on error in probe()
    leds: leds-clevo-mail: Use pr_* instead of printks
    leds: leds-rb532: Fix checkpatch errors
    leds: led-triggers: Fix checkpatch warnings
    leds: ledtrig-backlight: Fix checkpatch error
    leds: leds-wrap: Use instead of
    leds: leds-wm8350: Use dev_err instead of printk
    leds: leds-pwm: Fix checkpatch warning
    leds: leds-pca955x: Use dev_info instead of printk
    leds: leds-net48xx: Use linux/io.h instead of asm/io.h
    leds: leds-lt3593: Fix checkpatch warnings
    leds: leds-gpio: Use dev_info instead of printk
    leds: leds-da903x: Fix checkpatch error and warnings
    leds: leds-bd2802: Fix checkpatch warnings
    leds: leds-adp5520: Fix checkpatch warnings
    leds: led-class: Fix checkpatch warning
    leds: leds-ns2: use devm_gpio_request_one
    leds: leds-lt3593: use devm_gpio_request_one
    leds: leds-gpio: use devm_gpio_request_one
    leds: lp3944: Fix return value
    ...

    Linus Torvalds
     

29 Nov, 2012

3 commits


27 Nov, 2012

1 commit


01 Nov, 2011

1 commit


17 Dec, 2009

1 commit


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
     

03 Jul, 2009

1 commit


25 Apr, 2008

1 commit

  • Break the lines which were more than 80 characters into more
    lines; replace SPACEs with TABs; correct ident at switch-case;
    change character encoding from ISO-8859-2 to UTF-8.

    The order of the functions in led-triggers.c changed in order
    the similar functions can still be together under titles
    "Used by LED Class", "LED Trigger Interface" and "Simple
    LED Tigger Interface" as was grouped before when exported
    with EXPORT_SYMBOL.

    Signed-off-by: Márton Németh
    Signed-off-by: Richard Purdie

    Németh Márton
     

12 Oct, 2007

1 commit